Re: currval, lastval, nextvar? - Mailing list pgsql-novice

From Andreas Wenk
Subject Re: currval, lastval, nextvar?
Date
Msg-id 4A523EAB.9000001@netzmeister-st-pauli.de
Whole thread Raw
In response to Re: currval, lastval, nextvar?  (johnf <jfabiani@yolo.com>)
List pgsql-novice
johnf schrieb:
> On Thursday 23 April 2009 07:24:26 am Carol Walter wrote:
>>  Does writing a record that automatically updates a
>> sequence count as calling nextval?
>
> Yes if the data type is serial.
>

don't want to make a big discussion out of it - but serial is not really
a datatype but more an alias ... correct? As I remember correctly it was
not possible to use serial in psql in older versions because of that.
Please correct me if i am wrong ...

Cheers

Andy

pgsql-novice by date:

Previous
From: Andreas Wenk
Date:
Subject: Re: types
Next
From: "Allen, Danni"
Date:
Subject: Re: variable use for selects