Re: Bug #689: Bug at moving cursor on joined tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug #689: Bug at moving cursor on joined tables
Дата
Msg-id 2300.1023815721@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug #689: Bug at moving cursor on joined tables  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> I have problems with moving cursors on joined tables.

Most of the more complex plan node types don't really support moving
backwards.  I suppose it'd be an idea to error out rather than silently
doing the wrong thing.  Fixing the code to actually do the right thing
is way down the priority list, unfortunately.

As a workaround you could modify the query to force a sort step after
the join, eg with an ORDER BY that doesn't match the join condition.
A sort node can cope with backwards scan of its output ...

            regards, tom lane

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

Предыдущее
От: Matej Hollý
Дата:
Сообщение: referential integrity error
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: referential integrity error