Re: still memory leaks with libpgtcl - Mailing list pgsql-interfaces

From g.hintermayer@inode.at (Gerhard Hintermayer)
Subject Re: still memory leaks with libpgtcl
Date
Msg-id bd4db85f.0301080630.5f2cdc0a@posting.google.com
Whole thread Raw
In response to Re: still memory leaks with libpgtcl  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
The Tcl_Channel type mismatch was wrong alarm, ths is detected
automatically (but should be corrected in future versions anyhow).
The SEGV is, when Tcl_DontCallWhenDeleted is called, when the channel
is shut down (PgDelConnectionId). Unfortunately notifies->interp is
NULL and Tcl_DontCallWhenDeleted does not like that at all.
This might be the reason, why the patch from ljb (sorry, no name)
helps.

I will track down that deeper tomorrow when I'm at home, posting via
Google takes too long.

Gerhard


pgsql-interfaces by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm
Next
From: Bruce Momjian
Date:
Subject: ODBC fix