Re: INSERT with RETURNING clause inside SQL function - Mailing list pgsql-general

From Tom Lane
Subject Re: INSERT with RETURNING clause inside SQL function
Date
Msg-id 12147.1225777103@sss.pgh.pa.us
Whole thread Raw
In response to Re: INSERT with RETURNING clause inside SQL function  ("Diego Schulz" <dschulz@gmail.com>)
Responses Re: INSERT with RETURNING clause inside SQL function
List pgsql-general
"Diego Schulz" <dschulz@gmail.com> writes:
> On Mon, Nov 3, 2008 at 10:24 PM, Raymond O'Donnell <rod@iol.ie> wrote:
>> Just curious - what have you got against currval()? It seems to me that
>> it would make your life easier....

> I simply don't like having to cast from BIGINT to INTEGER,

Under what circumstances do you need an explicit cast?

            regards, tom lane

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: I'm puzzled by a foreign key constraint problem
Next
From: Richard Huxton
Date:
Subject: Re: I'm puzzled by a foreign key constraint problem