"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> "Heikki Linnakangas" <heikki(at)enterprisedb(dot)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