]> granicus.if.org Git - postgresql/commit
Code cleanup for heap_freeze_tuple.
authorRobert Haas <rhaas@postgresql.org>
Mon, 26 Mar 2012 15:03:06 +0000 (11:03 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 26 Mar 2012 15:03:06 +0000 (11:03 -0400)
commit7386089d23c748af142ec7e3668fa0dd164eaf99
tree6f4fc28184d8b3ffd6e913a88cacc97f244a6b1c
parente8476f46fc847060250c92ec9b310559293087fc
Code cleanup for heap_freeze_tuple.

It used to be case that lazy vacuum could call this function with only
a shared lock on the buffer, but neither lazy vacuum nor any other
code path does that any more.  Simplify the code accordingly and clean
up some related, obsolete comments.
src/backend/access/heap/heapam.c
src/backend/access/heap/rewriteheap.c
src/backend/commands/vacuumlazy.c
src/include/access/heapam.h