We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdcae2b commit e06b2e1Copy full SHA for e06b2e1
src/backend/access/transam/commit_ts.c
@@ -583,14 +583,15 @@ CommitTsParameterChange(bool newvalue, bool oldvalue)
583
* pg_control. If the old value was already set, we already did this, so
584
* don't do anything.
585
*
586
- * If the module is disabled in the master, disable it here too.
+ * If the module is disabled in the master, disable it here too, unless
587
+ * the module is enabled locally.
588
*/
589
if (newvalue)
590
{
591
if (!track_commit_timestamp && !oldvalue)
592
ActivateCommitTs();
593
}
- else if (oldvalue)
594
+ else if (!track_commit_timestamp && oldvalue)
595
DeactivateCommitTs(false);
596
597
0 commit comments