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

From Tom Lane
Subject Re: currval, lastval, nextvar?
Date
Msg-id 29148.1240503693@sss.pgh.pa.us
Whole thread Raw
In response to Re: currval, lastval, nextvar?  (Andreas Kretschmer <akretschmer@spamfence.net>)
List pgsql-novice
Andreas Kretschmer <akretschmer@spamfence.net> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> So if you do an insert that doesn't provide a value for that column,
>> the nextval is done implicitly.

> Right, i know.

I know *you* know, Andreas, but this is the -novice list and I figured
a bit more explanation wouldn't be a bad thing.  There isn't actually
any hidden magic in this, if you know where to look, but newbies
probably don't know where to look.

            regards, tom lane

pgsql-novice by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: currval, lastval, nextvar?
Next
From: johnf
Date:
Subject: Re: currval, lastval, nextvar?