chriskl         Wed Aug 24 03:46:27 2005 EDT

  Modified files:              
    /phpdoc/en/reference/pgsql/functions        pg-last-oid.xml 
  Log:
  Mention lastval()
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-last-oid.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-last-oid.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-last-oid.xml:1.9 
phpdoc/en/reference/pgsql/functions/pg-last-oid.xml:1.10
--- phpdoc/en/reference/pgsql/functions/pg-last-oid.xml:1.9     Mon Jul  4 
00:44:21 2005
+++ phpdoc/en/reference/pgsql/functions/pg-last-oid.xml Wed Aug 24 03:46:23 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
 <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -->
 <refentry id="function.pg-last-oid">
  <refnamediv>
@@ -31,6 +31,10 @@
    name of the sequence is unknown, the 
<literal>pg_get_serial_sequence</literal>
    PostgreSQL 8.0 function is necessary.
   </para>
+  <para>PostgreSQL 8.1 has a function <literal>LASTVAL</literal> that returns
+   the value of the most recently used sequence in the session.  This avoids
+   the need for naming the sequence, table or column altogether.
+  </para>
   <note>
    <para>
     This function used to be called <function>pg_getlastoid</function>.

Reply via email to