[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-query.xml
jsgoupilTue Oct 4 11:17:50 2005 EDT Modified files: /phpdoc/en/reference/pgsql/functionspg-query.xml Log: using function tag instead of () http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-query.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/pgsql/functions/pg-query.xml diff -u phpdoc/en/reference/pgsql/functions/pg-query.xml:1.12 phpdoc/en/reference/pgsql/functions/pg-query.xml:1.13 --- phpdoc/en/reference/pgsql/functions/pg-query.xml:1.12 Tue Oct 4 08:56:26 2005 +++ phpdoc/en/reference/pgsql/functions/pg-query.xmlTue Oct 4 11:17:46 2005 @@ -1,5 +1,5 @@ - + @@ -114,7 +114,7 @@ -Using pg_query() with multiple statements +Using pg_query with multiple statements
[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-query.xml
kouber Tue Oct 4 08:56:29 2005 EDT Modified files: /phpdoc/en/reference/pgsql/functionspg-query.xml Log: Multiple statements example & transaction explanations added (Bug #34719). http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-query.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc/en/reference/pgsql/functions/pg-query.xml diff -u phpdoc/en/reference/pgsql/functions/pg-query.xml:1.11 phpdoc/en/reference/pgsql/functions/pg-query.xml:1.12 --- phpdoc/en/reference/pgsql/functions/pg-query.xml:1.11 Mon Jul 4 03:42:00 2005 +++ phpdoc/en/reference/pgsql/functions/pg-query.xmlTue Oct 4 08:56:26 2005 @@ -1,5 +1,5 @@ - + @@ -64,7 +64,9 @@ query - The SQL statement or statements to be executed. + The SQL statement or statements to be executed. When multiple statements are passed to the function, + they are automatically executed as one transaction, unless there are explicit BEGIN/COMMIT commands + included in the query string. However, using multiple transactions in one function call is not recommended. @@ -110,6 +112,28 @@ + + +Using pg_query() with multiple statements + + + + +
[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-query.xml
didou Mon Jul 14 15:46:57 2003 EDT Modified files: /phpdoc/en/reference/pgsql/functionspg-query.xml Log: closing #24649 Index: phpdoc/en/reference/pgsql/functions/pg-query.xml diff -u phpdoc/en/reference/pgsql/functions/pg-query.xml:1.4 phpdoc/en/reference/pgsql/functions/pg-query.xml:1.5 --- phpdoc/en/reference/pgsql/functions/pg-query.xml:1.4Sun Jun 15 06:18:04 2003 +++ phpdoc/en/reference/pgsql/functions/pg-query.xmlMon Jul 14 15:46:56 2003 @@ -1,5 +1,5 @@ - + @@ -19,7 +19,7 @@ connection is not a valid connection. Details about the error can be retrieved using the pg_last_error function if connection is valid. - pg_last_error sends an SQL statement to + pg_query sends an SQL statement to the PostgreSQL database specified by the connection resource. The connection must be a valid connection that -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-query.xml
nicos Sun Jun 15 06:18:04 2003 EDT Modified files: /phpdoc/en/reference/pgsql/functionspg-query.xml Log: Typo. Thanks @Jome Index: phpdoc/en/reference/pgsql/functions/pg-query.xml diff -u phpdoc/en/reference/pgsql/functions/pg-query.xml:1.3 phpdoc/en/reference/pgsql/functions/pg-query.xml:1.4 --- phpdoc/en/reference/pgsql/functions/pg-query.xml:1.3Sat Apr 20 06:35:23 2002 +++ phpdoc/en/reference/pgsql/functions/pg-query.xmlSun Jun 15 06:18:04 2003 @@ -1,5 +1,5 @@ - + @@ -30,7 +30,7 @@ pg_fetch_array. - connection is a optional parameter for + connection is an optional parameter for pg_query. If connection is not set, default connection is used. Default connection is the last connection -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-query.xml
mfischerSat Apr 20 06:35:23 2002 EDT Modified files: /phpdoc/en/reference/pgsql/functionspg-query.xml Log: - Add comment that pg_exec() is not dead and still available too. Index: phpdoc/en/reference/pgsql/functions/pg-query.xml diff -u phpdoc/en/reference/pgsql/functions/pg-query.xml:1.2 phpdoc/en/reference/pgsql/functions/pg-query.xml:1.3 --- phpdoc/en/reference/pgsql/functions/pg-query.xml:1.2Wed Apr 17 02:43:22 2002 +++ phpdoc/en/reference/pgsql/functions/pg-query.xmlSat Apr 20 06:35:23 2002 @@ -1,5 +1,5 @@ - + @@ -47,6 +47,8 @@ This function used to be called pg_exec(). + pg_exec() is still available for compatibility + reasons but users are encouraged to use the newer name.