From: | tgl(at)svr1(dot)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Repair very-low-probability race condition between relation |
Date: | 2005-05-07 21:34:20 |
Message-ID: | 20050507213420.AB651537B0@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
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.
Tags:
----
REL7_2_STABLE
Modified Files:
--------------
pgsql/src/backend/access/heap:
hio.c (r1.43 -> r1.43.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/hio.c.diff?r1=1.43&r2=1.43.2.1)
pgsql/src/backend/commands:
vacuumlazy.c (r1.11 -> r1.11.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/vacuumlazy.c.diff?r1=1.11&r2=1.11.2.1)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-05-08 03:08:05 | pgsql: Documentation adjustments. |
Previous Message | Tom Lane | 2005-05-07 21:33:48 | pgsql: Repair very-low-probability race condition between relation |