libtclpq - tcl postgresql interface library v1.0

Colin McCormack

Fri Jul 23 12:00:13 EST 1999

What it is

A quick/experimental Swig-generated hack with itcl wrapper classes to permit:

Documentation

None, only the test.tcl file. Wrapper class source is pretty copiously documented.

Installation

several options: libtclpq.so provided may work for you OR, to work from the Swig generated on my machine: touch tclpq_wrap.c; make libtclpq.so; OR, if you have Swig installed, edit the Makefile and set PQDIR make clean all

It's not set up to reside in any system directory (qv. Bug #2)

Where

gzipped tar:
ftp://field.medicine.adelaide.edu.au/pub/libtclpq/libtclpq.tgz
Swig is at:
http://www.swig.org/
Postgresql is at:
http://www.postgresql.org/

Bugs

  1. Doesn't support COPY operations.
  2. Haven't made a tcl package interface for it.

Tested with/under

Homepage

http://field.medicine.adelaide.edu.au/~colin/libtclpq/

Manifest

READMEThis file
Makefile
tclpq.hSwig source file
tclpq_wrap.cSwig output file
libtclpq.soInterface library derived from above
tclpq_wrap.docSwig generated documentation
pgConnection.tclWrapper for postgresql connection
pgResult.tclWrapper for pg_result type
test.tcltest/example file

Changelog

Sat Jul 24 03:33:42 EST 1999V1.1 Release
Made pgConnect::exec internally asynchronous so tk updates and interactions can occur during query processing.

Author

Colin McCormack colin@field.medicine.adelaide.edu.au (Feel free to email me with any problems/bugs.)