"Tom Lane" <tgl@sss.pgh.pa.us> writes:
> "Heikki Linnakangas" <heikki@enterprisedb.com> writes:
>> * mmap the WAL segments, instead of using the slru buffers.
>
> This one's almost certainly a nonstarter, for lack of any portable way
> to control when writes happen.
I think mlock and msync(MS_SYNC) ought to be enough. I'm not sure every OS
implements them as specified though.
-- Gregory Stark EnterpriseDB http://www.enterprisedb.com