Re: Patch to fix memory leak in fetch in Python interface. - Mailing list pgsql-patches

From Gerhard Häring
Subject Re: Patch to fix memory leak in fetch in Python interface.
Date
Msg-id 20011019065654.B571@lilith.hqd-internal
Whole thread Raw
In response to Re: Patch to fix memory leak in fetch in Python interface.  (Stephen Robert Norris <srn@commsecure.com.au>)
List pgsql-patches
On Thu, Oct 18, 2001 at 08:56:47AM +1000, Stephen Robert Norris wrote:
> On Thu, 2001-10-18 at 08:46, Stephen Robert Norris wrote:
> > This stops the interface from leaking the row tuples (and thus the
> > results of every fetch).
> >
> >     Stephen
>
> Of course, I screwed up the patch. This one is actually correct, I
> think:
>
> [patch snipped]

Yes, that one is correct.

Gerhard
--
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Ant configuration
Next
From: Gerhard Häring
Date:
Subject: Re: PyGreSQL v3.2 doesn't support INT8 types