![[pgfoundry logo]](http://pgfoundry.org/images/elephantSmall.png)
pgtclng - PostgreSQL Tcl Interface Next-Generation - is a loadable Tcl/Tk module for accessing PostgreSQL databases. It started from the libpgtcl bundled in pre-8.0 releases of PostgreSQL, and included extensions from an early release of the Pgtcl project on gborg.postgresql.com. It has additional fixes and extensions, including features added in the companion project pgintcl. (Pgintcl is a pure-Tcl implementation of the PostgreSQL Tcl interface.)
Applications for Tcl/Tk scripts using Pgtclng range from simple database query utilities, to database report generation scripts, to complete application programs with graphical user interfaces.
There are three released products: the Pgtclng source, a binary release for Microsoft Windows, and a reference manual. Pgtclng is developed on Linux, and tested on both Linux and Windows systems.
Pgtclng is tested using a test suite called pgtcltest. This uses the tcltest commands included in Tcl/Tk. It has about 250 tests of pgtcl functions, including memory leak tests and timing tests. The pgtcltest suite, which has not been released, was initially developed for pgintcl, a pure-Tcl implementation of the PostgreSQL Tcl interface.
Pgtclng is released under a BSD open-source license.
The pgtclng project is a PostgreSQL Community project that is a part of the pgFoundry.
The pgFoundry page for the project is at http://pgfoundry.org/projects/pgtclng/, where you can find downloads, documentation, bug reports, and more.