Re: Memory leak

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Spencer Quin" <squin(at)rim(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, "Thomas Parry" <TParry(at)rim(dot)com>, "Geoffrey Stitt" <gstitt(at)rim(dot)com>
Subject: Re: Memory leak
Date: 2004-08-24 20:12:49
Message-ID: 7224.1093378369@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Spencer Quin" <squin(at)rim(dot)com> writes:
> I have found a memory leak in the libpq library for postrgesql 7.4.3.
> The code sample in the attached file will produce the error.

The traceback says that the leak is in libresolv, not libpq. I'm not
sure it's really a leak at all --- I'd expect libresolv to do some
internal caching, and this looks like it could be data that's just being
held onto for possible reuse. But in any case you want to file this
report with somebody else.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Spencer Quin 2004-08-24 20:24:14 Re: Memory leak
Previous Message Alvaro Herrera 2004-08-24 20:06:37 Re: server crash in very big transaction [postgresql 8.0beta1]