Re: INSERT with RETURNING clause inside SQL function

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Diego Schulz <dschulz(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: INSERT with RETURNING clause inside SQL function
Date: 2008-11-04 01:24:29
Message-ID: 490FA44D.4080902@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/11/2008 01:20, Diego Schulz wrote:

> I also tried this (somewhat silly) syntax to circumvent the issue
> without resorting in currval:

Just curious - what have you got against currval()? It seems to me that
it would make your life easier....

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Sergio Borgonovo 2008-11-04 01:44:58 Re: gin index creation performance problems
Previous Message Diego Schulz 2008-11-04 01:20:58 Re: INSERT with RETURNING clause inside SQL function