what exactly is a PlaceHolderVar?

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
what exactly is a PlaceHolderVar?
Дата
Msg-id
AANLkTinP01jOWUI2nTifW5OPqgO1Fsd27SqkjRLQ0HT0@mail.gmail.com
Список
Дерево обсуждения
what exactly is a PlaceHolderVar? Robert Haas <robertmhaas@gmail.com>
Re: what exactly is a PlaceHolderVar? Tom Lane <tgl@sss.pgh.pa.us>
I can't find any good documentation of this in the source tree
anywhere.  placeholder.c just says:
*        PlaceHolderVar and PlaceHolderInfo manipulation routines

and placeholder.h says:
*        prototypes for optimizer/util/placeholder.c.

...which is less than informative.  The commit message that introduced
them has a few details:
   Add a concept of "placeholder" variables to the planner.  These
are variables   that represent some expression that we desire to compute below the top level   of the plan, and then let that value "bubble up" as though it were a plain   Var (ie, a column value).

...but I'm still having a hard time wrapping my head around it.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

В списке pgsql-hackers по дате отправления
От: mac_man2005@hotmail.it
Дата:
Сообщение: Re: About tapes
От: Peter Eisentraut
Дата:
FAQ