note 111274 added to function.pg-result-status
| From: | dean at deansas dot org | Date: | Fri, 01 Feb 2013 15:51:00 +0000 |
| Subject: | note 111274 added to function.pg-result-status | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-193480@lists.php.net to get a copy of this message | ||
The postgres docs say that PHP should never be able to return PGRES_NONFATAL_ERROR
"A result of status PGRES_NONFATAL_ERROR will never be returned directly by PQexec or other
query execution functions" http://www.postgresql.org/docs/current/static/libpq-exec.html
Therefore you cannot use this function to check if this query produced a notice.
----
Server IP: 69.147.83.199
Probable Submitter: 87.194.177.60
----
Manual Page -- http://php.net/manual/en/function.pg-result-status.php
Edit -- https://master.php.net/note/edit/111274
Del: integrated -- https://master.php.net/note/delete/111274/integrated
Del: useless -- https://master.php.net/note/delete/111274/useless
Del: bad code -- https://master.php.net/note/delete/111274/bad+code
Del: spam -- https://master.php.net/note/delete/111274/spam
Del: non-english -- https://master.php.net/note/delete/111274/non-english
Del: in docs -- https://master.php.net/note/delete/111274/in+docs
Del: other reasons-- https://master.php.net/note/delete/111274
Reject -- https://master.php.net/note/reject/111274
Search -- https://master.php.net/manage/user-notes.php