Re: fix for strict-alias warnings - Mailing list pgsql-patches

From Tom Lane
Subject Re: fix for strict-alias warnings
Date
Msg-id 7428.1066020187@sss.pgh.pa.us
Whole thread Raw
In response to Re: fix for strict-alias warnings  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
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

pgsql-patches by date:

Previous
From: "Serguei Mokhov"
Date:
Subject: Russian NLS: errors_ru.properties
Next
From: "Andrew Dunstan"
Date:
Subject: Re: fix for strict-alias warnings