Re: Some macros for error field codes - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Some macros for error field codes
Date
Msg-id 200307302141.h6ULfuw12716@candle.pha.pa.us
Whole thread Raw
In response to Re: Some macros for error field codes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> >>> Should we create some user-friendly macros for the error field codes?
> 
> > I was actually talking of the single-letter codes that are used on the
> > protocol layer to tag the different fields of an error or notice result.
> 
> Oh, those things.  Sure, if you like, though it might be just namespace
> clutter.

Seems it documents the code more clearly.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Christopher Browne
Date:
Subject: Re: Upgrading my BSDI box, again
Next
From: Bruce Momjian
Date:
Subject: Re: Warning for undefined cursor