Re: Problem with Memory Leak - Mailing list pgsql-general

From Tom Lane
Subject Re: Problem with Memory Leak
Date
Msg-id 4994.1269585490@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problem with Memory Leak  (Pete Kay <petedao@gmail.com>)
List pgsql-general
Pete Kay <petedao@gmail.com> writes:
> I am setting up a connection pooling obj to pool a bunch of
> PGConnection object.  That is why I am not closing the PGConn object
> when the query is done.

> Is that the right way to do it?

Well, that's fine, but you should not be complaining about some memory
associated with the PGconn not being reclaimed yet in that state.

I guess the context we are missing is why is it you are worried about
valgrind reporting a memory leak of a kilobyte or so?

            regards, tom lane

pgsql-general by date:

Previous
From: Yogi Yang 007
Date:
Subject: Re: How to retrieve List of Tables in a Database using...
Next
From: Роман Маширов
Date:
Subject: Re: Avoiding deadlocks on mass delete / update