Re: Error codes

From: Neil Conway <neilc(at)samurai(dot)com>
To: Francois Suter <dba(at)paragraf(dot)ch>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error codes
Date: 2002-12-12 18:04:36
Message-ID: 1039716276.354.18.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • Error codes at 2002-12-12 10:36:04 from Francois Suter

Browse pgsql-general by date

  From Date Subject
Next Message SZUCS Gábor 2002-12-12 18:10:43 Fw: infinity as a date
Previous Message Peter Gibbs 2002-12-12 17:59:29 Re: Frustration with date/times/epoch in v7.3.