From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Code cleanup for heap_freeze_tuple. |
Date: | 2012-03-26 15:05:52 |
Message-ID: | E1SCBUW-0003wN-Fu@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2012-03-26 18:26:54 | pgsql: Improve PL/Python database access function documentation |
Previous Message | Tom Lane | 2012-03-26 14:29:32 | Re: Re: [COMMITTERS] pgsql: Replace empty locale name with implied value in CREATE DATABASE |