Cleanup commit timestamp module activaction, again
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 27 Oct 2015 18:06:50 +0000 (15:06 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 27 Oct 2015 18:06:50 +0000 (15:06 -0300)
commit531d21b75ff6b18ea8638c736a05326ebd519f49
tree8e4ef04bbc8e99b1466f667eb7d7273db532c27f
parent0cd836a4e818f049716e47fe81bf5d4800509c57
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
src/backend/access/transam/commit_ts.c
src/backend/commands/vacuum.c
src/include/access/commit_ts.h