Re: MemSet inline for newNode - Mailing list pgsql-patches

From Tom Lane
Subject Re: MemSet inline for newNode
Date
Msg-id 8937.1036936866@sss.pgh.pa.us
Whole thread Raw
In response to MemSet inline for newNode  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: MemSet inline for newNode  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I have applied this patch to inline MemSet for newNode.
> I will make another commit to make more general use of palloc0.

Refresh my memory on why either of these was a good idea?

> This was already discussed on hackers.

And this was not the approach agreed to, IIRC.  What you've done has
eliminated the possibility of optimizing away the controlling tests
in MemSet.

            regards, tom lane

pgsql-patches by date:

Previous
From: Marko Kreen
Date:
Subject: pgcrypto/openssl fix
Next
From: Bruce Momjian
Date:
Subject: Re: MemSet inline for newNode