"Craig Harris" <harris(at)SummerEyes(dot)com> writes:> does any one know why the SEQSCAN node has TWO TARGETENTRYs?
It doesn't stop to notice that the Var is not referenced by any uppernodes in this particular scenario.
regards, tom lane