Convert PL/Tcl to use Tcl's "object" interfaces.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 287822068246a6ae30bb2c7191de727672ae6328
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-02T17:07:31Z
Releases: 9.6.0
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

Files

PathChange+/−
src/pl/tcl/pltcl.c modified +329 −336