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

From Bruce Momjian
Subject Re: Fix for fetchone() and fetchmany() in Python interface
Date
Msg-id 200108152058.f7FKwsu29899@candle.pha.pa.us
Whole thread Raw
In response to Fix for fetchone() and fetchmany() in Python interface  (Gerhard Häring <haering_python@gmx.de>)
List pgsql-patches
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

> 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, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Fix for fetchone() and fetchmany() in Python interface
Next
From: Neil Padgett
Date:
Subject: Re: Re: Proposal for encrypting pg_shadow passwords