When(Where) does qual become a List ?

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "pgsql-hackers" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: When(Where) does qual become a List ?
Date: 1999-07-07 08:30:28
Message-ID: 000301bec852$f7e36160$2801007e@cadzone.tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)tpf(dot)co(dot)jp

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-07-07 08:58:09 psql and \do
Previous Message Unprivileged user 1999-07-07 08:20:11 Port Bug Report: No primary key possible with type reltime & timestamp