error codes - Mailing list pgsql-php

From Ivan Sergio Borgonovo
Subject error codes
Date
Msg-id 20040512235124.4c2179c5@stige.webthatworks.it
Whole thread Raw
List 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


pgsql-php by date:

Previous
From: Robby Russell
Date:
Subject: Re: about psql user
Next
From: Lynna Landstreet
Date:
Subject: Checking data inserted during a transaction