pg.ddx.io pgsql-php@postgresql.org mailing list archivehelp / color / mirror / Atom feed
error codes 2+ messages / 2 participants [nested] [flat]
* error codes @ 2003-11-08 23:31 Patrick Welche <prlw1@newn.cam.ac.uk> 0 siblings, 0 replies; 2+ messages in thread From: Patrick Welche @ 2003-11-08 23:31 UTC (permalink / raw) To: pgsql-php The latest php pear DB I could find still worked out postgresql errors but matching strings. AFAIK, the new protocol sends real error codes. Have I only found an old module / is conversion to the new protocol happening? Cheers, Patrick (not subscribed) ^ permalink raw reply [nested|flat] 2+ messages in thread
* error codes @ 2004-05-12 21:51 Ivan Sergio Borgonovo <mail@webthatworks.it> 0 siblings, 0 replies; 2+ messages in thread From: Ivan Sergio Borgonovo @ 2004-05-12 21:51 UTC (permalink / raw) To: pgsql-php How can I obtain the codes described in Appendix A in the PG Docs through PHP? I'd like to avoid to patch PHP as proposed here: http://it.php.net/manual/en/function.pg-result-error.php I'm not interested in the message but just the code. Is there any workaround that doesn't involve recompiling php? Anyone know the code for a duplicate PK violation? thx ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-05-12 21:51 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2003-11-08 23:31 error codes Patrick Welche <prlw1@newn.cam.ac.uk> 2004-05-12 21:51 error codes Ivan Sergio Borgonovo <mail@webthatworks.it>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox