cvs: phpdoc-ja /reference/pgsql/functions pg-last-oid.xml

From: Date: Wed, 24 Aug 2005 09:56:39 +0000
Subject: cvs: phpdoc-ja /reference/pgsql/functions pg-last-oid.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-1155@lists.php.net to get a copy of this message
takagi Wed Aug 24 05:56:39 2005 EDT Modified files: /phpdoc-ja/reference/pgsql/functions pg-last-oid.xml Log: sync with en. http://cvs.php.net/diff.php/phpdoc-ja/reference/pgsql/functions/pg-last-oid.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/pgsql/functions/pg-last-oid.xml diff -u phpdoc-ja/reference/pgsql/functions/pg-last-oid.xml:1.3 phpdoc-ja/reference/pgsql/functions/pg-last-oid.xml:1.4 --- phpdoc-ja/reference/pgsql/functions/pg-last-oid.xml:1.3 Thu Aug 18 06:17:40 2005 +++ phpdoc-ja/reference/pgsql/functions/pg-last-oid.xml Wed Aug 24 05:56:35 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./ja/functions/pgsql.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.11 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <refentry id="function.pg-last-oid"> <refnamediv> @@ -33,6 +33,11 @@ 場合は、PostgreSQL 8.0 の関数 <literal>pg_get_serial_sequence</literal> が必要になります。 </para> + <para> + PostgreSQL 8.1 には <literal>LASTVAL</literal> 関数が存在し、セッション内で + 直近に使用されたシーケンスの値を返します。これを用いれば、シーケンスや + テーブルやカラムの名前を指定する必要がなくなります。 + </para> <note> <para> この関数は、以前は <function>pg_getlastoid</function> と呼ばれていました。

« previous php.doc.ja (#1155) next »