Tom Lane writes:
> libpq has several internal uses of the error-field codes that perhaps
> ought to be converted to use these macros, eg, pqInternalNotice(),
> pqGetErrorNotice2(), pqGetErrorNotice3().
>
> More generally, is libpq the right place to declare these? Shouldn't
> we instead put 'em in postgres_ext.h, and teach the backend code to use
> 'em too?
Yes, I'll take care of these two items.
--
Peter Eisentraut peter_e@gmx.net