Re: Example query causing param_info to be set in plain rel path

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Example query causing param_info to be set in plain rel path
Дата
Msg-id 1519.1382708503@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Example query causing param_info to be set in plain rel path  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Ответы Re: Example query causing param_info to be set in plain rel path  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Список pgsql-hackers
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com> writes:
> In order to test various cases of LATERAL join in Postgres-XC, I am trying
> to find a query where RelOptInof->lateral_relids would get set for plain
> base relations.

I think you need a lateral reference in a function or VALUES FROM-item.
As you say, plain sub-selects are likely to get flattened.  (Possibly
if you stuck in a flattening fence such as OFFSET 0, you could get the
case to happen with a sub-select FROM item, but I'm too lazy to check.)
        regards, tom lane



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal: lob conversion functionality
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: RULE regression test fragility?