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

Поиск
Список
Период
Сортировка
От Neil Padgett
Тема Re: Fix for fetchone() and fetchmany() in Python interface
Дата
Msg-id 3B7AE9E9.AC321A32@redhat.com
обсуждение исходный текст
Ответ на Re: Fix for fetchone() and fetchmany() in Python interface  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian wrote:
>
> > 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).
>
> We only put major lowrisk fixes in 7.1.X releases, and this one is too
> minor for the risk.  Sorry.
>

I think this patch is important enough -- it fixes an annoying broken
call, with a two line patch that is quite localized. So, the risk level
seems quite low. AFAICT, the worst thing this patch could do is keep
fetch as broken, though perhaps in a different way. But, even then, I'm
fairly confident that the patch is good, or at least better than what
we've got, since we've already tried it out here, and found it to
apparently fix the issue.

Neil

--
Neil Padgett
Red Hat Canada Ltd.                       E-Mail:  npadgett@redhat.com
2323 Yonge Street, Suite #300,
Toronto, ON  M4P 2C9

В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Re: Proposal for encrypting pg_shadow passwords
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: Proposal for encrypting pg_shadow passwords