pgsql: Convert PL/Tcl to use Tcl's "object" interfaces. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Convert PL/Tcl to use Tcl's "object" interfaces.
Date
Msg-id E1abAFO-0005Qq-58@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix TAP tests for older Perls.
Next
From: Tom Lane
Date:
Subject: pgsql: Make PL/Tcl require Tcl 8.4 or later.