Re: Cursor not getting all rows

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Cursor not getting all rows
Дата
Msg-id 1116352977.22291.133.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на Re: Cursor not getting all rows  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-general
On Tue, 2005-05-17 at 12:49, Joseph Shraibman wrote:
> Scott Marlowe wrote:
>
> > Only if you set transaction isolation to serializable.
>
> So am I getting data that was updated up until the time of the FETCH or
> the DECLARE CURSOR?

The data shouldn't change between the declare and the fetch, it's
between the count(*) and the declare that it can change.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Cursor not getting all rows
Следующее
От: "David Parker"
Дата:
Сообщение: explicit cursor vs. for loop in pl/pgsql