Skip site navigation (1) Skip section navigation (2)

Re: currval, lastval, nextvar?

From: johnf <jfabiani(at)yolo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: currval, lastval, nextvar?
Date: 2009-04-23 15:37:57
Message-ID: 200904230837.57415.jfabiani@yolo.com (view raw or flat)
Thread:
Lists: pgsql-novice
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.

-- 
John Fabiani

In response to

Responses

pgsql-novice by date

Next:From: A. KretschmerDate: 2009-04-23 15:59:52
Subject: Re: currval, lastval, nextvar?
Previous:From: Carol WalterDate: 2009-04-23 14:24:26
Subject: currval, lastval, nextvar?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group