CVS update: php3/doc/functions
| From: | eschmid | Date: | Sun, 16 Aug 1998 19:13:50 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-278@lists.php.net to get a copy of this message | ||
Date: Sunday August 16, 1998 @ 15:13
Author: eschmid
Update of /repository/php3/doc/functions
In directory asf:/tmp/cvs-serv12757
Modified Files:
pgsql.sgml
Log Message:
Added one argument. Not tested, I'm testing many other stuff now
Index: php3/doc/functions/pgsql.sgml
diff -c php3/doc/functions/pgsql.sgml:1.26 php3/doc/functions/pgsql.sgml:1.27
*** php3/doc/functions/pgsql.sgml:1.26 Sun Aug 9 07:30:17 1998
--- php3/doc/functions/pgsql.sgml Sun Aug 16 15:13:49 1998
***************
*** 568,580 ****
<paramdef>int <parameter>result_id</parameter></paramdef>
</funcsynopsis>
<para>
! pg_FreeResult() only needs to be called if you are worried about
! using too much memory while your script is running. All result
! memory will automatically be freed when the script is
! finished. But, if you are sure you are not going to need the
! result data anymore in a script, you may call pg_FreeResult()
! with the result identifier as an argument and the associated
! result memory will be freed.
</refsect1>
</refentry>
--- 568,580 ----
<paramdef>int <parameter>result_id</parameter></paramdef>
</funcsynopsis>
<para>
! <function>pg_FreeResult</function> only needs to be called if you
! are worried about using too much memory while your script is
! running. All result memory will automatically be freed when the
! script is finished. But, if you are sure you are not going to
! need the result data anymore in a script, you may call
! <function>pg_FreeResult</function> with the result identifier as
! an argument and the associated result memory will be freed.
</refsect1>
</refentry>
***************
*** 587,601 ****
<title>Description</title>
<funcsynopsis>
<funcdef>int <function>pg_getlastoid</function></funcdef>
! <void>
</funcsynopsis>
<para>
! pg_GetLastOid() can be used to retrieve the Oid assigned to an
! inserted tuple if the last command sent via
! <function>pg_Exec</function> was an SQL INSERT. This function
! will return a positive integer if there was a valid Oid. It will
! return -1 if an error occured or the last command sent via
! <function>pg_Exec</function> was not an INSERT.
</refsect1>
</refentry>
--- 587,602 ----
<title>Description</title>
<funcsynopsis>
<funcdef>int <function>pg_getlastoid</function></funcdef>
! <paramdef>int <parameter>result_id</parameter></paramdef>
</funcsynopsis>
<para>
! <function>pg_GetLastOid</function> can be used to retrieve the
! Oid assigned to an inserted tuple if the result identifier is
! used from the last command sent via <function>pg_Exec</function>
! and was an SQL INSERT. This function will return a positive
! integer if there was a valid Oid. It will return -1 if an error
! occured or the last command sent via <function>pg_Exec</function>
! was not an INSERT.
</refsect1>
</refentry>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net