Where the Quals are actually 'List'ed - Mailing list pgsql-hackers

From Vaibhav Kaushal
Subject Where the Quals are actually 'List'ed
Date
Msg-id 1297070903.3128.5.camel@localhost
Whole thread Raw
Responses Re: Where the Quals are actually 'List'ed
List pgsql-hackers
Hi,

I find that ExecInitExpr creates a ExprState tree (and so say the
comments above the function in the source). Also, it seems to decide
which function would get called when the expression is to be evaluated
when ExecQual runs, by setting the function pointer, for example: 

bstate->xprstate.evalfunc = (ExprStateEvalFunc)ExecEvalAnd;

But ExecQual goes through a List, whereas, ExecInitExpr creates a tree. 
So is that same tree converted to a qual list or are we adding some more
information.

Vaibhav (*_*)



pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: A different approach to extension NO USER DATA feature
Next
From: Dimitri Fontaine
Date:
Subject: Re: Foreign servers and user mappings versus the extensions patch