Re: [sqlsmith] Failed assertion in parallel worker (ExecInitSubPlan) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [sqlsmith] Failed assertion in parallel worker (ExecInitSubPlan)
Date
Msg-id 27813.1463068106@sss.pgh.pa.us
Whole thread Raw
In response to Re: [sqlsmith] Failed assertion in parallel worker (ExecInitSubPlan)  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [sqlsmith] Failed assertion in parallel worker (ExecInitSubPlan)  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I could be wrong, but I thought that the target list for an expression
> would always contain only Vars at this stage.  Non-default tlists get
> injected at the end of scan/join planning.  Am I wrong?

Target list for a relation, you mean?  See relation.h:
*      reltarget - Default Path output tlist for this rel; normally contains*                  Var and PlaceHolderVar
nodesfor the values we need to*                  output from this relation.*                  List is in no particular
order,but all rels of an*                  appendrel set must use corresponding orders.*                  NOTE: in an
appendrelchild relation, may contain*                  arbitrary expressions pulled up from a subquery!
 
        regards, tom lane



pgsql-hackers by date:

Previous
From: Sherrylyn Branchaw
Date:
Subject: Re: Change error code for hstore syntax error
Next
From: Andres Freund
Date:
Subject: Re: Perf Benchmarking and regression.