aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-12-06 17:47:25 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-12-06 17:47:25 +0000
commitf039a8cf8e7893b709d33b6966e1cf8834e43ce2 (patch)
tree98e2de667c090009ffb128fa68a83cc3a7ee87b6
parenta0c4ac77add62606cbeaf2a9f243e2cc3228ef59 (diff)
downloadpostgresql-f039a8cf8e7893b709d33b6966e1cf8834e43ce2.tar.gz
postgresql-f039a8cf8e7893b709d33b6966e1cf8834e43ce2.zip
Add missing table entry for lastval(), per Jeff Davis.
-rw-r--r--doc/src/sgml/func.sgml8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index deb6ec19d27..1e652117786 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.415 2007/12/03 23:49:50 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.416 2007/12/06 17:47:25 tgl Exp $ -->
<chapter id="functions">
<title>Functions and Operators</title>
@@ -8614,6 +8614,12 @@ table2-mapping
<function>nextval</function> for specified sequence</entry>
</row>
<row>
+ <entry><literal><function>lastval</function>()</literal></entry>
+ <entry><type>bigint</type></entry>
+ <entry>Return value most recently obtained with
+ <function>nextval</function> for any sequence</entry>
+ </row>
+ <row>
<entry><literal><function>nextval</function>(<type>regclass</type>)</literal></entry>
<entry><type>bigint</type></entry>
<entry>Advance sequence and return new value</entry>