Re: elog() error, trying CURENT OF with foreign table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: elog() error, trying CURENT OF with foreign table
Дата
Msg-id 15878.1366382803@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: elog() error, trying CURENT OF with foreign table  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: elog() error, trying CURENT OF with foreign table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> My main concern was actually whether we ought to be detecting this
> earlier in the process, before it gets as far as the executor.

Yeah, that might be an appropriate response too.  The executor is
coded so cavalierly because it expects the planner to have replaced
the CURRENT OF node with something executable.  As things now stand,
whether that happens or not depends in part on the behavior of FDWs,
so maybe we'd better have the planner check whether it happened.
I'm not sure though if there's any suitably-painless place to do it.
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: elog() error, trying CURENT OF with foreign table
Следующее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: [GENERAL] currval and DISCARD ALL