aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/functions.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-01-13 16:59:52 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-01-13 16:59:52 -0500
commit5b29e6b688d1e783a098aa24f9e795f8de798a87 (patch)
tree8cb769a3f8061d85f354af3301f880d90f4d2c4a /src/backend/executor/functions.c
parent7f5b043d69a83e44e22a6b42f902e3e268b80a24 (diff)
downloadpostgresql-5b29e6b688d1e783a098aa24f9e795f8de798a87.tar.gz
postgresql-5b29e6b688d1e783a098aa24f9e795f8de798a87.zip
In PL/Tcl tests, don't choke if optional error fields are missing.
This fixes a portability issue introduced by commit 961bed020: with a compiler that doesn't support PG_FUNCNAME_MACRO, the "funcname" field of errorCode won't be provided, leading to a failure of the unset command. I added -nocomplain to the unset commands for filename and lineno too, just in case, though I know of no platform that wouldn't populate those fields. (BTW, -nocomplain is new in Tcl 8.4, but fortunately we dropped support for pre-8.4 Tcl some time ago.) Per buildfarm member pademelon.
Diffstat (limited to 'src/backend/executor/functions.c')
0 files changed, 0 insertions, 0 deletions