]> granicus.if.org Git - postgresql/commit
Convert PL/Tcl to use Tcl's "object" interfaces.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Mar 2016 17:07:31 +0000 (12:07 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Mar 2016 17:07:31 +0000 (12:07 -0500)
commit287822068246a6ae30bb2c7191de727672ae6328
tree0cda7f77694976ff877c93b6262fcd4ffe004740
parent3b8d7215533ed3128b1b9174eae830d70c0453d0
Convert PL/Tcl to use Tcl's "object" interfaces.

The original implementation of Tcl was all strings, but they improved
performance significantly by introducing typed "objects" (integers,
lists, code, etc).  It's past time we made use of that; that happened
in Tcl 8.0 which was released in 1997.

This patch also modernizes some of the error-reporting code, which may
cause small changes in the spelling of complaints about bad calls to
PL/Tcl-provided commands.

Jim Nasby and Karl Lehenbauer, reviewed by Victor Wagner
src/pl/tcl/pltcl.c