Re: Cursors and backwards scans and SCROLL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cursors and backwards scans and SCROLL
Дата
Msg-id 25932.1047244690@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Cursors and backwards scans and SCROLL  (Rod Taylor <rbt@rbt.ca>)
Список pgsql-sql
Rod Taylor <rbt@rbt.ca> writes:
> Enforcing spec seems like the least confusing mode to operate under,
> especially given it could break simply by changing the plan -- which
> happens automagically (seemingly random).

Keep in mind though that complaints about the current bugs have been
fairly infrequent, which means that most people either don't try to
fetch backwards from a cursor, or don't try to do so on complex plans.

I'm hesitant to penalize a larger group for the benefit of a smaller
one --- which is why enforcing the spec strictly doesn't really appeal
to me, even though one could argue that the larger group had it coming.
I'd prefer to be permissive about the cases that we can support at no
cost, which not-by-coincidence are the cases that have worked correctly
up to now.
        regards, tom lane


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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Cursors and backwards scans and SCROLL
Следующее
От: Neil Conway
Дата:
Сообщение: Re: [HACKERS] Cursors and backwards scans and SCROLL