Re: Concern over ext/pgsql API
| From: | Kouber Saparev | Date: | Thu, 31 Mar 2005 15:00:02 +0000 |
| Subject: | Re: Concern over ext/pgsql API | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15699@lists.php.net to get a copy of this message | ||
> HOWEVER, it is not possible to get a result resource from a failed
> pg_query! pg_query() returns FALSE on failure, not a result.
You could call pg_last_error(), or pg_last_notice(). Although the last one
is currently somehow broken: http://bugs.php.net/bug.php?id=32223
Kouber