Re: pg_last_error() doesn't return connection errors
Frank Naude <[email protected]> Fri, 27 Aug 2010 11:17:18 +0200
| Newsgroups | gmane.comp.db.postgresql.php |
|---|---|
| Message-ID | <[email protected]> |
Hi Andrew, Thank you very much for the reply! > Alternatively, does pg_errormessage() have the same flaw...? Unfortunately pg_errormessage() doesn't work either. It returns: Warning: pg_errormessage() [function.pg-errormessage]: No PostgreSQL link opened yet in... > That behaviour doesn't seem particularly unnatural to me,... It is inconsistent with how the other DB modules behave. I can provide you with some examples if it would help. Best regards. Frank -- Sent via pgsql-php mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-php