Re: [GENERAL] memory leak of PQmakeEmptyPGresult?

2004-10-18 Thread Ann
hi,Gaetano Mendola: you wrote: Ann wrote: I found the reason of this question and fixed the bug :)) Why then don't you share it ? em ,because i make a stupid mistake in programming!! :(( I made use of transactions to ensure database consistency, and then, i called PQexec() to

Re: [GENERAL] memory leak of PQmakeEmptyPGresult??

2004-10-13 Thread Gaetano Mendola
Ann wrote: I found the reason of this question and fixed the bug :)) Why then don't you share it ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

[GENERAL] memory leak of PQmakeEmptyPGresult??

2004-10-12 Thread xiaoling he
I try to detect potential memory management bugs of my program with valgrind. (PostgreSQL is at version 8.0 beta2. Operating System is Red Hat Enterprise Linux 3. Valgrind is at version 2.2.0.) After Program terminated, Valgrind reports a memory lost error information as follows:==13524== 208

Re: [GENERAL] memory leak of PQmakeEmptyPGresult??

2004-10-12 Thread Ann
I found the reason of this question and fixed the bug :))xiaoling he [EMAIL PROTECTED] wrote: I try to detect potential memory management bugs of my program with valgrind. (PostgreSQL is at version 8.0 beta2. Operating System is Red Hat Enterprise Linux 3. Valgrind is at version 2.2.0.) After