Update comments related to the crash-safety of the visibility map.
authorRobert Haas <rhaas@postgresql.org>
Tue, 27 Sep 2011 13:30:23 +0000 (09:30 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 27 Sep 2011 13:30:23 +0000 (09:30 -0400)
commitf70648d5a16b4b048cacd04b82079e6734449bc2
treebe13c02d877277e002a1068b82d2a29442f1280a
parenta9d845be496b779efbcf16095bf236639e9e7665
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.
src/backend/access/heap/hio.c
src/backend/access/heap/visibilitymap.c