[EMAIL PROTECTED] writes: > Interesting, what do you mean by Plan trees are 'read only' now? Is it the > distinction between Plan trees and their corresponding PlanState nodes that > indicate the 'read only' behaviour and the 'writeable' state of the Plan, > respectively, that was introduced at that time?
Yeah, exactly. ExecInitExpr builds an ExprState tree that mirrors the structure of the Expr tree but contains all the run-time-variable data. This tree is what's now being passed to ExecQual. The problem is that outfuncs.c knows about all the Expr node types and none of the ExprState types, there being no need to dump the latter in normal use. There is a valid argument that we ought to support dumping PlanState and ExprState trees for debugging purposes, but it just seems like more maintenance effort than it's worth ... > (Is there a way do get this type info with gdb's help?) "p *(Node *) ptr" ought to do it. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly