Re: lastval() - Mailing list pgsql-patches

From Neil Conway
Subject Re: lastval()
Date
Msg-id 42A3C998.2070509@samurai.com
Whole thread Raw
In response to Re: lastval()  (Abhijit Menon-Sen <ams@oryx.com>)
Responses Re: lastval()  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: lastval()  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-patches
Abhijit Menon-Sen wrote:
> Could someone who likes this idea please write the documentation for it?

Dennis' original patch includes documentation updates and a description
of lastval():

http://archives.postgresql.org/pgsql-patches/2005-05/msg00059.php

> I'd really like to see a concise, complete description of the proposed
> function, including potential caveats.

lastval() returns the last value produced by nextval() or setval() in
the current session.

-Neil

pgsql-patches by date:

Previous
From: Abhijit Menon-Sen
Date:
Subject: Re: lastval()
Next
From: Tom Lane
Date:
Subject: Re: lastval()