On Wed, Oct 12, 2016 at 5:18 PM, Tom Lane <[email protected]> wrote: > Merlin Moncure <[email protected]> writes: >> ISTM all this silliness is pretty much unique to linux anyways. >> Instead of reading the filesystem, what about doing test map and test >> unmap? > > And if mmap succeeds and munmap fails, you'll recover how exactly? > > If this API were less badly designed, we'd not be having this problem > in the first place ...
I was thinking to 'guess' in a ^2 loop in the case the obvious unmap didn't work, finally aborting if no guess worked. :-). merlin -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
