pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedpgtclCmds.c has bugs that have been removed once !!!!!!!
3+ messages / 3 participants
[nested] [flat]
* pgtclCmds.c has bugs that have been removed once !!!!!!!
@ 1998-10-13 14:25 Constantin Teodorescu <teo@flex.ro>
1998-10-13 19:03 ` Re: [INTERFACES] pgtclCmds.c has bugs that have been removed once !!!!!!! Peter T Mount <peter@retep.org.uk>
1998-10-13 22:44 ` Re: [INTERFACES] pgtclCmds.c has bugs that have been removed once !!!!!!! Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 2 replies; 3+ messages in thread
From: Constantin Teodorescu @ 1998-10-13 14:25 UTC (permalink / raw)
To: pgsql-interfaces
Hello all,
one of these days I discovered that my Tcl/Tk application has memory
leaks.
Tracing them I discovered that the Tcl interface, libpgtcl , especially
pgtclCmds.c has bugs in pg_select function.
Strange thing, I removed once that bugs and send a diff to developers,
and I'm positively sure that 6.2.1 version came out with the bug free
version.
It seems that someone has done some changes in pgtclCmds.c but never
took the good version from PostgreSQL.org !!!
I cannot find now the changes that I have made then but I can remember
that :
1. in pg_select function, there is no PQclear(result) at the end of the
loop causing memory leaks with every pg_select command that is executed
2. in pg_select function, looping through the result, in case of
TCL_BREAK or TCL_ERROR , there is a straight return without releasing
info structure, nor PQClear-ing the result.
PLEASE, who is maintaining libpgtcl, could you contact me directly (
teo@flex.ro ) in order to check that errors and to modify them in order
to deliver a proper tcl library with 6.4 version ?
The RedHat 5.0 and 5.1 distribution , including PgAccess is suffering
from the same bug.
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [INTERFACES] pgtclCmds.c has bugs that have been removed once !!!!!!!
1998-10-13 14:25 pgtclCmds.c has bugs that have been removed once !!!!!!! Constantin Teodorescu <teo@flex.ro>
@ 1998-10-13 19:03 ` Peter T Mount <peter@retep.org.uk>
1 sibling, 0 replies; 3+ messages in thread
From: Peter T Mount @ 1998-10-13 19:03 UTC (permalink / raw)
To: Constantin Teodorescu <teo@flex.ro>; +Cc: pgsql-interfaces
On Tue, 13 Oct 1998, Constantin Teodorescu wrote:
> Hello all,
>
> one of these days I discovered that my Tcl/Tk application has memory
> leaks.
> Tracing them I discovered that the Tcl interface, libpgtcl , especially
> pgtclCmds.c has bugs in pg_select function.
>
> Strange thing, I removed once that bugs and send a diff to developers,
> and I'm positively sure that 6.2.1 version came out with the bug free
> version.
>
> It seems that someone has done some changes in pgtclCmds.c but never
> took the good version from PostgreSQL.org !!!
Something strange happened recently with the CVS tree. Last week, I found
some stuff that had been changed in JDBC just before 6.3 was released.
--
Peter T Mount peter@retep.org.uk
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [INTERFACES] pgtclCmds.c has bugs that have been removed once !!!!!!!
1998-10-13 14:25 pgtclCmds.c has bugs that have been removed once !!!!!!! Constantin Teodorescu <teo@flex.ro>
@ 1998-10-13 22:44 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 1998-10-13 22:44 UTC (permalink / raw)
To: Constantin Teodorescu <teo@flex.ro>; +Cc: pgsql-interfaces
Constantin Teodorescu <teo@flex.ro> writes:
> PLEASE, who is maintaining libpgtcl, could you contact me directly (
> teo@flex.ro ) in order to check that errors and to modify them in order
> to deliver a proper tcl library with 6.4 version ?
I fixed that particular problem some days ago (1 Oct to be exact).
Please check the current cvs server or latest snapshot. If you still
see problems, let me know...
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~1998-10-13 22:44 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-10-13 14:25 pgtclCmds.c has bugs that have been removed once !!!!!!! Constantin Teodorescu <teo@flex.ro>
1998-10-13 19:03 ` Peter T Mount <peter@retep.org.uk>
1998-10-13 22:44 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox