diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-25 15:52:53 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-25 15:52:53 -0400 |
commit | fb8d2a7f57d87102f0a95025fbf1cad9c341739b (patch) | |
tree | 0f112f9f54426f971df366159ad2abe564b1374d /src/backend/parser/parse_clause.c | |
parent | c94959d4110a1965472956cfd631082a96f64a84 (diff) | |
download | postgresql-fb8d2a7f57d87102f0a95025fbf1cad9c341739b.tar.gz postgresql-fb8d2a7f57d87102f0a95025fbf1cad9c341739b.zip |
In PL/Tcl, make database errors return additional info in the errorCode.
Tcl has a convention for returning additional info about an error in a
global variable named errorCode. Up to now PL/Tcl has ignored that,
but this patch causes database errors caught by PL/Tcl to fill in
errorCode with useful information from the ErrorData struct.
Jim Nasby, reviewed by Pavel Stehule and myself
Diffstat (limited to 'src/backend/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions