cvs: phpdoc /en/reference/pgsql/functions pg-lo-create.xml pg-lo-import.xml

From: Date: Wed, 23 Jul 2008 12:02:26 +0000
Subject: cvs: phpdoc /en/reference/pgsql/functions pg-lo-create.xml pg-lo-import.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1898@lists.php.net to get a copy of this message
hholzgra Wed Jul 23 12:02:26 2008 UTC Modified files: /phpdoc/en/reference/pgsql/functions pg-lo-create.xml pg-lo-import.xml Log: documented new object id paramters added in PHP 5.3 http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-lo-create.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-lo-create.xml diff -u phpdoc/en/reference/pgsql/functions/pg-lo-create.xml:1.10 phpdoc/en/reference/pgsql/functions/pg-lo-create.xml:1.11 --- phpdoc/en/reference/pgsql/functions/pg-lo-create.xml:1.10 Wed Jun 20 22:25:13 2007 +++ phpdoc/en/reference/pgsql/functions/pg-lo-create.xml Wed Jul 23 12:02:25 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 --> <refentry xml:id="function.pg-lo-create" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -12,6 +12,11 @@ <methodsynopsis> <type>int</type><methodname>pg_lo_create</methodname> <methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>object_id</parameter></methodparam> + </methodsynopsis> + <methodsynopsis> + <type>int</type><methodname>pg_lo_create</methodname> + <methodparam><type>mixed</type><parameter>object_id</parameter></methodparam> </methodsynopsis> <para> <function>pg_lo_create</function> creates a large @@ -54,10 +59,23 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>object_id</parameter></term> + <listitem> + <para> + If an <parameter>object_id</parameter> is given the function + will try to create a large object with this id, else a free + object id is assigned by the server. The parameter + was added in PHP 5.3 and relies on functionality that first + appeared in PostgreSQL 8.1. + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> @@ -65,6 +83,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.3.0</entry> + <entry><para> + The optional <parameter>object_id</parameter> was added. + </para></entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-lo-import.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-lo-import.xml diff -u phpdoc/en/reference/pgsql/functions/pg-lo-import.xml:1.11 phpdoc/en/reference/pgsql/functions/pg-lo-import.xml:1.12 --- phpdoc/en/reference/pgsql/functions/pg-lo-import.xml:1.11 Wed Jun 20 22:25:13 2007 +++ phpdoc/en/reference/pgsql/functions/pg-lo-import.xml Wed Jul 23 12:02:25 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.6 --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.pg-lo-import"> <refnamediv> @@ -13,10 +13,12 @@ <type>int</type><methodname>pg_lo_import</methodname> <methodparam><type>resource</type><parameter>connection</parameter></methodparam> <methodparam><type>string</type><parameter>pathname</parameter></methodparam> + <methodparam><type>mixed</type><parameter>object_id</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>int</type><methodname>pg_lo_import</methodname> <methodparam><type>string</type><parameter>pathname</parameter></methodparam> + <methodparam><type>mixed</type><parameter>object_id</parameter></methodparam> </methodsynopsis> <para> <function>pg_lo_import</function> creates a new large object @@ -59,6 +61,18 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>object_id</parameter></term> + <listitem> + <para> + If an <parameter>object_id</parameter> is given the function + will try to create a large object with this id, else a free + object id is assigned by the server. The parameter + was added in PHP 5.3 and relies on functionality that first + appeared in PostgreSQL 8.1. + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -84,6 +98,12 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry><para> + The optional <parameter>object_id</parameter> was added. + </para></entry> + </row> + <row> <entry>4.2.0</entry> <entry><para> The syntax of this function changed. It used to be:

« previous php.doc.cvs (#1898) next »