pgsql: Add a function lastval(), which returns the value returned by the

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a function lastval(), which returns the value returned by the
Date: 2005-06-07 07:08:35
Message-ID: 20050607070835.F149F5283A@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add a function lastval(), which returns the value returned by the
last nextval() or setval() performed by the current session. Update the
docs, add regression tests, and bump the catalog version. Patch from
Dennis Bjrklund, various improvements by Neil Conway.

Modified Files:
--------------
pgsql/doc/src/sgml:
func.sgml (r1.251 -> r1.252)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml.diff?r1=1.251&r2=1.252)
pgsql/src/backend/commands:
sequence.c (r1.122 -> r1.123)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/sequence.c.diff?r1=1.122&r2=1.123)
pgsql/src/include/catalog:
catversion.h (r1.272 -> r1.273)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h.diff?r1=1.272&r2=1.273)
pg_proc.h (r1.363 -> r1.364)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_proc.h.diff?r1=1.363&r2=1.364)
pgsql/src/include/commands:
sequence.h (r1.31 -> r1.32)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/commands/sequence.h.diff?r1=1.31&r2=1.32)
pgsql/src/test/regress/expected:
sequence.out (r1.6 -> r1.7)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/sequence.out.diff?r1=1.6&r2=1.7)
pgsql/src/test/regress/sql:
sequence.sql (r1.2 -> r1.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/sequence.sql.diff?r1=1.2&r2=1.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-06-07 14:04:48 pgsql: Use just NULL not NULL::TEXT --- the latter coding is unnecessary
Previous Message Bruce Momjian 2005-06-07 03:22:29 Re: pgsql: Ipcrm -> ipcclean in error message: