Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I have attached and applied the following patch to use makeNode for
> structures that will later be cast to Node*, rather than having them be
> allocated as stack variables.
AFAICT, this adds unnecessary palloc overhead without actually reducing
the risk of optimization problems.
regards, tom lane