dbTalk Databases Forums  

Re: memory leak of PQmakeEmptyPGresult?

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss Re: memory leak of PQmakeEmptyPGresult? in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ann
 
Posts: n/a

Default Re: memory leak of PQmakeEmptyPGresult? - 10-18-2004 , 10:58 PM








hi,Gaetano Mendola:

you wrote:

Quote:
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 begin,commit or rollback a transaction, but ignored clearing the PGresult pointer that was returned by PQexec().......

I was afraid of others dissipating their energies in it,so, i declared i fixed the bug.

Thank you to pay attention to my question.Thanks very much!!



Regards
Ann



---------------------------------
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!



---------------------------------
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.