Re: pgplsql, how to save row variable to a table row

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Sam Mason <sam(at)samason(dot)me(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pgplsql, how to save row variable to a table row
Date: 2008-03-26 12:40:34
Message-ID: 47EA4442.8050201@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 26/03/2008 12:26, Sam Mason wrote:

> INSERT INTO f2_tempfac
> SELECT (row_tempf).*;

Does this depend on the column order in table f2_tempfac being the same
as that in the SELECT that produced row_tempf?

Or will row_tempf.foo automagically get matched with column
f2_tempfac.foo, etc?

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
---------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2008-03-26 12:47:55 Re: pgplsql, how to save row variable to a table row
Previous Message srdjan 2008-03-26 12:36:04 Re: RULES and QUALIFICATION for INSERT