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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Fix for fetchone() and fetchmany() in Python interface
Дата
Msg-id 200108152146.f7FLk3t08931@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Fix for fetchone() and fetchmany() in Python interface  (Fernando Nasser <fnasser@cygnus.com>)
Ответы Re: Fix for fetchone() and fetchmany() in Python interface
Список pgsql-patches
> Bruce,
>
> It may be too late for including it, but it would not be for the reasons above.
>
> 1) low risk
>
> It is low risk.  It is a one line patch that only affects the python interface code.
>
> 2) major
>
> It is major.  Without it we can consider that 7.1 does not support Python
> (at least, not the 2.0 API).
>
> What use is an interface that keeps returning the same row (the first one)
> every time you call the cursor trying to get the next row?
>
> It happens with both functions fetchone() and fetchmany(), so there is no
> workaround besides reading the whole table (which sometimes is not feasible).
>
>
> So, it is both low risk and major.

If it has taken months for someone report report it and fix it, it can't
be that major.

--
  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 по дате отправления:

Предыдущее
От: Fernando Nasser
Дата:
Сообщение: Re: Fix for fetchone() and fetchmany() in Python interface
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: Proposal for encrypting pg_shadow passwords