Re: inline newNode() - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: inline newNode()
Date
Msg-id Pine.LNX.4.44.0210082100400.928-100000@localhost.localdomain
Whole thread Raw
In response to Re: inline newNode()  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: inline newNode()  (Neil Conway <neilc@samurai.com>)
Re: inline newNode()  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Tom Lane writes:

> A brute-force approach is to say "we know _start is word-aligned because
> we just got it from palloc, which guarantees MAXALIGNment".  We could
> make a variant version of MemSet that omits the alignment check, and use
> it here and anywhere else we're sure it's safe.

Or make a version of palloc that zeroes the memory.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: inline newNode()
Next
From: Peter Eisentraut
Date:
Subject: Re: inline newNode()