pgsql: Code cleanup for heap_freeze_tuple. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Code cleanup for heap_freeze_tuple.
Date
Msg-id E1SCBUW-0003wN-Fu@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7386089d23c748af142ec7e3668fa0dd164eaf99

Modified Files
--------------
src/backend/access/heap/heapam.c      |   49 +++------------------------------
src/backend/access/heap/rewriteheap.c |    7 +----
src/backend/commands/vacuumlazy.c     |    3 +-
src/include/access/heapam.h           |    3 +-
4 files changed, 7 insertions(+), 55 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix COPY FROM for null marker strings that correspond to invalid
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Improve PL/Python database access function documentation