postgresql/src/pl
Tom Lane 5b29e6b688 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.
2017-01-13 16:59:52 -05:00
..
plperl Use 'use strict' in all Perl programs 2017-01-05 12:34:48 -05:00
plpgsql Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
plpython Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
tcl In PL/Tcl tests, don't choke if optional error fields are missing. 2017-01-13 16:59:52 -05:00
Makefile Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00