pgsql: Cleanup commit timestamp module activaction, again

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cleanup commit timestamp module activaction, again
Date: 2015-10-27 18:07:36
Message-ID: E1Zr8em-00025t-LT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Cleanup commit timestamp module activaction, again

Further tweak commit_ts.c so that on a standby the state is completely
consistent with what that in the master, rather than behaving
differently in the cases that the settings differ. Now in standby and
master the module should always be active or inactive in lockstep.

Author: Petr Jelínek, with some further tweaks by Álvaro Herrera.

Backpatch to 9.5, where commit timestamps were introduced.

Discussion: http://www.postgresql.org/message-id/5622BF9D.2010409@2ndquadrant.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/531d21b75ff6b18ea8638c736a05326ebd519f49

Modified Files
--------------
src/backend/access/transam/commit_ts.c | 149 +++++++++++++++++---------------
src/backend/commands/vacuum.c | 2 +-
src/include/access/commit_ts.h | 2 +-
3 files changed, 81 insertions(+), 72 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2015-10-27 21:19:21 pgsql: Fix BRIN free space computations
Previous Message Alvaro Herrera 2015-10-27 16:22:17 pgsql: Measure string lengths only once

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2015-10-27 18:07:59 Re: [DOCS] max_worker_processes on the standby
Previous Message Josh Berkus 2015-10-27 17:35:38 Re: Patch: Implement failover on libpq connect level.