Closed dargmuesli closed 2 years ago
pg
places 'errcode' on the 'code' property, so we translate it automatically:
(And we use errcode
since that's what Postgres uses: https://www.postgresql.org/docs/current/plpgsql-errors-and-messages.html )
I'm going to close this as the current behaviour is intentional; however if you find that using --errcode
does not result in the error codes being made available, please let me know a reproduction.
The comma list having code
in it is certainly interesting... I wonder why that was. Maybe that should have been errcode
all along.
Ok, so as I understand and tested it, errcode
is intended to be used, but code
works too.
There does not seem to be a
errcode
(anymore?), but only acode
.The comma separated list below shows
code
instead oferrcode
too.