Repair very-low-probability race condition between relation extension

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d6e30b0ba0028d56b555f91f524aabb65d1a8443
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-05-07T21:32:53Z
Releases: 8.0.3
Repair very-low-probability race condition between relation extension
and VACUUM: in the interval between adding a new page to the relation
and formatting it, it was possible for VACUUM to come along and decide
it should format the page too.  Though not harmful in itself, this would
cause data loss if a third transaction were able to insert tuples into
the vacuumed page before the original extender got control back.

Files