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

From Fernando Nasser
Subject Re: Fix for fetchone() and fetchmany() in Python interface
Date
Msg-id 3B7AE15E.F5F77B6C@cygnus.com
Whole thread Raw
In response to Fix for fetchone() and fetchmany() in Python interface  (Gerhard Häring <haering_python@gmx.de>)
Responses Re: Fix for fetchone() and fetchmany() in Python interface  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Gerhard Häring wrote:
>
> 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

This is great.  It solves a problem we were having.

Bruce: this should go into 7.1.3 (if possible).  It applies cleanly and,
without it, we basically can't use Python (cursors don't work, basically).

--
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: Proposal for encrypting pg_shadow passwords
Next
From: Peter Eisentraut
Date:
Subject: Re: Re: Proposal for encrypting pg_shadow passwords