Re: [PHP-DEV] Re: Concern over ext/pgsql API

2005-03-31 Thread Christopher Kings-Lynne
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 Those functions are basicall

[PHP-DEV] Re: Concern over ext/pgsql API

2005-03-31 Thread Kouber Saparev
> 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 -- PHP Interna