]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Repair very-low-probability race condition between relation extension
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 May 2005 21:33:47 +0000 (21:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 May 2005 21:33:47 +0000 (21:33 +0000)
commitad12a7b9e2054813fd3f9f673f45fc1f7cca1e21
treedf93100c1836a641f07ba015c3e779879df9f77d
parent4beb9cd5ebede4ae390c705f24f24be5fe3c9edc
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.
src/backend/access/heap/hio.c
src/backend/commands/vacuumlazy.c