"Cade Cairns" <cadec(at)otii(dot)com> writes:
> The leak occurs when libpq can not establish a connection to the database
> server, in my case when it is not running. I believe that when a caller
> calls PQreset() or PQresetStart(), the subsequent call to connectDBStart()
> clobbers the previous value of addrlist in the PGconn. Presumably,
> closePGconn() should be destroying this value.
Uh ... could we see a complete test case for this?
regards, tom lane