When(Where) does qual become a List ?

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема When(Where) does qual become a List ?
Дата
Msg-id 000301bec852$f7e36160$2801007e@cadzone.tpf.co.jp
обсуждение исходный текст
Ответы Re: [HACKERS] When(Where) does qual become a List ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello all,

I see the following defintion of query_planner() in
optimizer/planner/planmain.c .

Plan * query_planner(Query *root,                         int command_type,                         List *tlist,
                List *qual)
 

Does this mean that qual is already a List when 
query_planner () is called ?

But I see the following code in query_planner()qual = cnfify((Expr *) qual, true);

Are Expr and List compatible ?
I could see such CAST in some places.

Regards.

Hiroshi Inoue
Inoue@tpf.co.jp


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Memory leaks in relcache
Следующее
От: Bruce Momjian
Дата:
Сообщение: psql and \do