error codes

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


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
Ivan Sergio Borgonovo [ Mi, 12 Mai 2004 23:51 ] [ ID #141784 ]
Datenbanken » gmane.comp.db.postgresql.php » error codes

Vorheriges Thema: field md5
Nächstes Thema: about psql user