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.
regards, tom lane