MLUG: Re: [MLUG] Tcl/TK access to SQL database
Re: [MLUG] Tcl/TK access to SQL database
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Wed, 4 Apr 2001, Aaron Littich wrote:

> Anybody know if there are any packages that allows
> tcl/tk code to interface to a postgresql or mysql
> database.  I can't seem to find any on the web.

I don't remember if you got a response to this - sorry if I'm repeating
here.  The answer is: yes, postgresql has tcl/tk support.  Here's what the
docs say:

libpq is the C application programmer's interface to Postgres. libpq is a
set of library routines that allow client programs to pass queries to the
Postgres backend server and to receive the results of these queries.

pgtcl is a tcl package for front-end programs to interface with Postgres
backends. It makes most of the functionality of libpq available to tcl
scripts.

There is also a tcl/tk frontend for the database - you could probably take
it apart for examples of how to use it.

All of this stuff is included with the postgresql source.

Cheers, Rob

--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/