A PostgreSQL Interface for Tcl Icon

A PostgreSQL Interface for Tcl

A Tcl interface to PostgreSQL databases, using PostgreSQL libpq

27 Downloads (This Week)
Last Update:
Download pgtcl2.1.1.tar.gz
Browse All Files
Windows BSD Linux


pgtclng (PostgreSQL Tcl Next-Generation) is a loadable Tcl module for accessing PostgreSQL databases. It was forked from pgtcl in Feb 2004, moved to pgfoundy.org in Aug 2006 and to Sourceforge.net in Mar 2011. Its API is a superset of the pure-Tcl companion project pgintcl.

A PostgreSQL Interface for Tcl Web Site


Database, Libraries


BSD License


  • Allows Tcl scripts to communicate with PostgreSQL database servers
  • Written in C as a loadable Tcl module (using "load" or "package require")
  • Released as both source code and a compiled (binary) DLL for Windows
  • Tested with Tcl-8.6, 8.5, and 8.4; PostgreSQL-9.3.0 and 9.2.x
  • Reference manual covers pgtclng and companion pure-Tcl project pgintcl
  • Compatible superset of original bundled Pgtcl with many extensions

Update Notifications

Additional Project Details

Intended Audience


Programming Language




Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.