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

Started by Tom Laneover 10 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/287822068246a6ae30bb2c7191de727672ae6328

Modified Files
--------------
src/pl/tcl/pltcl.c | 665 ++++++++++++++++++++++++++---------------------------
1 file changed, 329 insertions(+), 336 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers