Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANNOUNCE: Pgtcl 1.4 beta 3

4 views
Skip to first unread message

Karl Lehenbauer

unread,
Nov 16, 2002, 12:55:56 AM11/16/02
to
The Postgres/Tcl team is pleased to announce the release of
libpgtcl 1.4 beta 3.

This release fixes all known bugs and memory leaks from
libpgtcl 1.4 beta 2.

libpgtcl 1.4 is upwardly compatible from 1.3, yet it has
undergone extensive work to update it to use Tcl 8 objects
internally, resulting in higher performance, sometimes
substantial. Command arguments are now checked much
more rigorously, and error messages have been standardized.

libpgtcl includes new pg_result options to return results as
lists. The "-list" and "-llist" options are several times faster
than their array-oriented counterparts.

libpgtcl also includes a new experimental interface to
Postgres' asynchronous query processing, allowing Tcl programs
that make use of this feature to continue to service Tcl
events (such as mouse clicks, fileevents, etc) while waiting
on the Postgres server to produce results. Also, for the first
time, database commands can be cancelled while in-process,
and Tcl programs can be notified when the database connection
is lost.

libpgtcl can be downloaded from
ftp://gborg.postgresql.org/pub/pgtcl/devel/libpgtcl-1.4b3.tar.gz
and from
ftp://ftp.procplace.com/pub/libpgtcl/libpgtcl-1.4b3.tar.gz

A website, including instructions on how to access the development
tree via CVS is at
http://gborg.postgresql.org/project/pgtcl/

Regards,

Karl Lehenbauer & Brett Schwarz


Gerhard Hintermayer

unread,
Nov 26, 2002, 12:53:51 PM11/26/02
to
Karl Lehenbauer wrote:

> The Postgres/Tcl team is pleased to announce the release of
> libpgtcl 1.4 beta 3.
>
> This release fixes all known bugs and memory leaks from
> libpgtcl 1.4 beta 2.
>

> ...

but not those that were already in ;-)

a simple (under Tcl8.3.5)

while 1 {set conn [pg_connect template1]; pg_disconnect $conn}

will let you run out of memory soon. That is also the case in the libpgtcl
sources include with postgres (latest CVS versions)

I'm definitely sure this has to do something with the patch tom lane did apply
see:
http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&safe=off&threadm=28530.1031010328%40sss.pgh.pa.us&prev=/groups%3Fdq%3D%26num%3D25%26hl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dcomp.databases.postgresql.interfaces%26safe%3Doff%26start%3D50

Unfortunately I have no time this week to check that out. Will do that next week.

--
Gerhard Hintermayer
http://www.inode.at/g.hintermayer

0 new messages