Re: Uncleared result sets in describeOneTableDetails()

From: Neil Conway <neilc(at)samurai(dot)com>
To: Brendan Jurd <direvus(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Uncleared result sets in describeOneTableDetails()
Date: 2006-11-08 01:23:55
Message-ID: 1162949036.8208.22.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 2006-11-07 at 17:56 +1100, Brendan Jurd wrote:
> Should be just six extra lines (patch attached, untested).

Applied to HEAD, with an additional fix: you need to clear "result5" as
well. I didn't bother applying it to backbranches, on the grounds that a
memory leak in psql is not serious.

I think refactoring this function is the right long-term fix, but that
will have to wait for 8.2 to branch.

-Neil

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Luke Lonergan 2006-11-08 05:00:19 Re: Block B-tree etc. (was Re: Introducing an advanced Frequent
Previous Message Bruno Wolff III 2006-11-08 01:11:35 Re: Bug in WAL backup documentation