Tom Lane wrote: > Alvaro Herrera <[EMAIL PROTECTED]> writes: > > A buffer's io_in_progress lock protects the buffer's CRC. > > Unfortunately, it doesn't. See hint bits.
Hmm, so it seems we need to keep held of the bufferhead's spinlock while calculating the checksum, just after resetting BM_JUST_DIRTIED. Yuck. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers