Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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


pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group