error codes

From: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
To: pgsql-php(at)postgresql(dot)org
Subject: error codes
Date: 2004-05-12 21:51:24
Message-ID: 20040512235124.4c2179c5@stige.webthatworks.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-php by date

  From Date Subject
Next Message Lynna Landstreet 2004-05-12 22:45:58 Checking data inserted during a transaction
Previous Message Robby Russell 2004-05-12 14:28:44 Re: about psql user