pgsql: Update comments related to the crash-safety of the visibility ma

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Update comments related to the crash-safety of the visibility ma
Date: 2011-09-27 13:40:43
Message-ID: E1R8Xtr-00026D-6R@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Update comments related to the crash-safety of the visibility map.

In hio.c, document how we avoid deadlock with respect to visibility map
buffer locks. In visibilitymap.c, update the LOCKING section of the
file header comment.

Both oversights noted by Heikki Linnakangas.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f70648d5a16b4b048cacd04b82079e6734449bc2

Modified Files
--------------
src/backend/access/heap/hio.c | 4 ++++
src/backend/access/heap/visibilitymap.c | 16 +++++++++++++---
2 files changed, 17 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2011-09-27 20:02:46 pgsql: Fix typo
Previous Message Robert Haas 2011-09-27 12:38:04 pgsql: sepgsql uavc comment improvements.