Re: Passing row set into PL/pgSQL function.

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Lucas Clemente Vella <lvella(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Passing row set into PL/pgSQL function.
Date: 2012-09-20 04:46:01
Message-ID: 505A9F89.5020801@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lucas Clemente Vella 2012-09-20 05:47:37 Re: Passing row set into PL/pgSQL function.
Previous Message Craig Ringer 2012-09-20 02:25:21 Re: pg_dump, send/recv