note 64400 added to function.pg-update
| From: | jhooks at osu1 dot php dot net | Date: | Thu, 13 Apr 2006 14:54:52 +0000 |
| Subject: | note 64400 added to function.pg-update | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107994@lists.php.net to get a copy of this message | ||
> Return Values
>
> Returns TRUE on success or FALSE on failure. Returns string if
> PGSQL_DML_STRING is passed via options.
I have found in my copy of PHP (version 4.4.0) that if you use the 'PGSQL_DML_STRING'
option, the function does not execute any query. It merely returns the query which would have been
executed.
Another thing I noticed, pg_update does not seem to make use of pg_trace (atleast in 4.4.0).
PS this isn't a bug report, just an explanation of some undocumented features I noticed. As
the manual says, the function is still in development so this behaviour may differ from version to
version.
----
Server IP: 85.116.0.130
Probable Submitter: 213.218.224.49
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.pg-update.php
Edit -- http://master.php.net/note/edit/64400
Del: integrated -- http://master.php.net/note/delete/64400/integrated
Del: useless -- http://master.php.net/note/delete/64400/useless
Del: bad code -- http://master.php.net/note/delete/64400/bad+code
Del: spam -- http://master.php.net/note/delete/64400/spam
Del: non-english -- http://master.php.net/note/delete/64400/non-english
Del: in docs -- http://master.php.net/note/delete/64400/in+docs
Del: other reasons-- http://master.php.net/note/delete/64400
Reject -- http://master.php.net/note/reject/64400
Search -- http://master.php.net/manage/user-notes.php