Re: Fix for fetchone() and fetchmany() in Python interface

From: Fernando Nasser <fnasser(at)cygnus(dot)com>
To: gerhard(at)bigfoot(dot)de
Cc: pgsql-patches(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: Fix for fetchone() and fetchmany() in Python interface
Date: 2001-08-15 20:53:50
Message-ID: 3B7AE15E.F5F77B6C@cygnus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-08-15 20:58:54 Re: Fix for fetchone() and fetchmany() in Python interface
Previous Message Bruce Momjian 2001-08-15 20:46:45 Re: Re: Proposal for encrypting pg_shadow passwords