Re: Passing row set into PL/pgSQL function. - Mailing list pgsql-general

From Craig Ringer
Subject Re: Passing row set into PL/pgSQL function.
Date
Msg-id 505A9F89.5020801@ringerc.id.au
Whole thread Raw
In response to Passing row set into PL/pgSQL function.  (Lucas Clemente Vella <lvella@gmail.com>)
Responses Re: Passing row set into PL/pgSQL function.  (Lucas Clemente Vella <lvella@gmail.com>)
List pgsql-general
On 09/20/2012 05:37 AM, Lucas Clemente Vella wrote:
> I am trying to write a generic "upsert" function in PL/pgSQL, in a way
> that I can specify the table were I want to insert/update, the columns
> whose values I want to specify, and the values to be inserted.

http://www.depesz.com/2012/06/10/why-is-upsert-so-complicated/

--
Craig Ringer


pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: pg_dump, send/recv
Next
From: Chris Angelico
Date:
Subject: Re: RFE: Column aliases in WHERE clauses