Re: fix for strict-alias warnings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PG Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix for strict-alias warnings
Date: 2003-10-13 04:43:07
Message-ID: 7428.1066020187@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-10-13 04:48:18 Re:
Previous Message Tom Lane 2003-10-13 04:23:29 Re: http://www.pgsql.com/register/submit.php

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2003-10-13 05:34:21 Re: fix for strict-alias warnings
Previous Message Christopher Browne 2003-10-13 03:46:26 release.sgml, minor pg_autovacuum changes