Fix for fetchone() and fetchmany() in Python interface - Mailing list pgsql-patches

From Gerhard Häring
Subject Fix for fetchone() and fetchmany() in Python interface
Date
Msg-id 20010813190335.A3604@lilith.hqd-internal
Whole thread Raw
Responses Re: Fix for fetchone() and fetchmany() in Python interface
List pgsql-patches
This patch fixes the well-known but unfixed bug that fetchone() always returns
the first result in the DB-API compliant wrapper. It turned out that the bug
was way down in the C code.

Gerhard
--
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    public key at homepage
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')))

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: bytea_ops
Next
From: Bruce Momjian
Date:
Subject: Re: bytea_ops