Обсуждение: pgsql: Convert PL/Tcl to use Tcl's "object" interfaces.

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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(-)