Re: Error codes - Mailing list pgsql-general

From Neil Conway
Subject Re: Error codes
Date
Msg-id 1039716276.354.18.camel@tokyo
Whole thread Raw
In response to Error codes  (Francois Suter <dba@paragraf.ch>)
List pgsql-general
On Thu, 2002-12-12 at 05:36, Francois Suter wrote:
> My question is then: is it possible to retrieve this error code, especially
> in PHP, where it seems that the only function related to errors is
> pg_errormessage() which only returns a string with no error code.

PostgreSQL does not currently support error codes. There is some talk of
implementing them for 7.4, but I don't think that's set in stone yet. In
the interim, perhaps you can grep the error string?

Cheers,

Neil


pgsql-general by date:

Previous
From: "Peter Gibbs"
Date:
Subject: Re: Frustration with date/times/epoch in v7.3.
Next
From: SZUCS Gábor
Date:
Subject: Fw: infinity as a date