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