Re: How to get value of 'Param' of the WHERE clause in the FDW?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to get value of 'Param' of the WHERE clause in the FDW?
Дата
Msg-id 17474.1443207298@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to get value of 'Param' of the WHERE clause in the FDW?  (Dmitry Chichkov <dchichkov@gmail.com>)
Ответы Re: How to get value of 'Param' of the WHERE clause in the FDW?  (Dmitry Chichkov <dchichkov@gmail.com>)
Список pgsql-hackers
Dmitry Chichkov <dchichkov@gmail.com> writes:
> Thank you for the reply!  I'm trying to get the correct value and I need it
> at the execution stage.  I just don't see how to get baserestrictinfo in
> the execution stage or if the 'abc123' value would be there at all...

Hm?  At execution, you'd just evaluate whatever the expression is.
The planner constructs don't have much to do with that, and certainly
a Param should not be a special case in any way.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: upcoming infrastructure changes/OS upgrades on *.postgresql.org
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Less than ideal error reporting in pg_stat_statements