When(Where) does qual become a List ? - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject When(Where) does qual become a List ?
Date
Msg-id 000301bec852$f7e36160$2801007e@cadzone.tpf.co.jp
Whole thread Raw
Responses Re: [HACKERS] When(Where) does qual become a List ?
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Memory leaks in relcache
Next
From: Bruce Momjian
Date:
Subject: psql and \do