diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-25 16:54:52 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-25 16:54:52 -0400 |
commit | cd37bb78599dcf24cd22a124ce9174b5e2a76880 (patch) | |
tree | f04472f34be85e8a2c7f458c708d8eaaacfcb8dd /src/backend/parser/parse_clause.c | |
parent | fb8d2a7f57d87102f0a95025fbf1cad9c341739b (diff) | |
download | postgresql-cd37bb78599dcf24cd22a124ce9174b5e2a76880.tar.gz postgresql-cd37bb78599dcf24cd22a124ce9174b5e2a76880.zip |
Improve PL/Tcl errorCode facility by providing decoded name for SQLSTATE.
We don't really want to encourage people to write numeric SQLSTATEs in
programs; that's unreadable and error-prone. Copy plpgsql's infrastructure
for converting between SQLSTATEs and exception names shown in Appendix A,
and modify examples in tests and documentation to do it that way.
Diffstat (limited to 'src/backend/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions