Re: Initplan placed at the righttree or the lefttree of joinnode

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Initplan placed at the righttree or the lefttree of joinnode
Дата
Msg-id 275742.1603376074@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Initplan placed at the righttree or the lefttree of joinnode  ("Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>)
Список pgsql-general
"Hou, Zhijie" <houzj.fnst@cn.fujitsu.com> writes:
> Can Initplan placed at the righttree or the lefttree of joinnode?

Initplans generally get attached to the topmost node of a given
(sub)query, cf create_plan().  You might be able to get what you want
by having an unflattenable subquery as one input of a join.  I do not
think you're going to get any exciting results that way though ...
as create_plan() notes, the exact spot where an initplan is attached
to the tree isn't terribly relevant.

            regards, tom lane



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

Предыдущее
От: Sushant Pawar
Дата:
Сообщение: Re: Hot backup in PostgreSQL
Следующее
От: Adam Brusselback
Дата:
Сообщение: Re: Hot backup in PostgreSQL