Re: Uncleared result sets in describeOneTableDetails() - Mailing list pgsql-hackers

From Neil Conway
Subject Re: Uncleared result sets in describeOneTableDetails()
Date
Msg-id 1162949036.8208.22.camel@localhost.localdomain
Whole thread Raw
In response to Re: Uncleared result sets in describeOneTableDetails()  ("Brendan Jurd" <direvus@gmail.com>)
List 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




pgsql-hackers by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: [PATCHES] Bug in WAL backup documentation
Next
From: "Luke Lonergan"
Date:
Subject: Re: Block B-tree etc. (was Re: Introducing an advanced Frequent