pgsql: Fix comments about WAL rule "write xlog before data" versus pg_m

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix comments about WAL rule "write xlog before data" versus pg_m
Date: 2016-01-01 06:49:22
Message-ID: E1aEtWc-00044s-Dn@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix comments about WAL rule "write xlog before data" versus pg_multixact.

Recovery does not achieve its goal of zeroing all pg_multixact entries
whose accompanying WAL records never reached disk. Remove that claim
and justify its expendability. Detail the need for TrimMultiXact(),
which has little in common with the TrimCLOG() rationale. Merge two
tightly-related comments. Stop presenting pg_multixact as specific to
heap_lock_tuple(); PostgreSQL 9.3 extended its use to heap_update().

Noticed while investigating a report from Andres Freund.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3cd1ba147e5619199914e5b71e0edbd188a763d2

Modified Files
--------------
src/backend/access/transam/multixact.c | 46 +++++++++++++++-----------------
1 file changed, 21 insertions(+), 25 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-01-01 18:00:27 pgsql: Split out pg_operator.h function declarations to new file pg_ope
Previous Message Peter Eisentraut 2016-01-01 03:29:53 pgsql: doc: Remove redundant duplicate URLs from ulink elements