Re: ShmemAlloc() alignment patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ShmemAlloc() alignment patch
Date
Msg-id 20202.1152890291@sss.pgh.pa.us
Whole thread Raw
In response to Re: ShmemAlloc() alignment patch  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
>>> How can ShmemBase not be aligned? Surely it's page-aligned?

> Should we add an assert?

No, because even if it's not page-aligned, there's no correctness issue
here.  (Besides, how would you know what the page size is on any given
platform?)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: ShmemAlloc() alignment patch
Next
From: "Florian G. Pflug"
Date:
Subject: Forcing wal rotation