Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Tom Lane writes:
>> Or were you looking for src/include/utils/errcodes.h ?
> I think we should put such a list in the documentation, at least for those
> error codes that we have really assigned.
I have no objection to that. I have doubts about the utility of a
listing of message texts, but the SQLSTATE codes seem reasonable to
document.
Would it be possible to generate the list automatically from errcodes.h,
to simplify future maintenance?
regards, tom lane