Gregory Stark <[EMAIL PROTECTED]> writes: > a) You wouldn't have to keep the lock while doing the I/O.
Hoo, yeah, so the period of holding the share-lock could well be *shorter* than it is now. Most especially so if the write() blocks instead of just transferring the data to kernel space and returning. I wonder whether that could mean that it's a win to double-buffer even if we aren't computing a checksum? Nah, probably not. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers