mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
@ -687,10 +687,10 @@ ReplicationSlotRelease(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the last inactive time after marking the slot inactive. We don't set
|
* Set the last inactive time after marking the slot inactive. We don't
|
||||||
* it for the slots currently being synced from the primary to the standby
|
* set it for the slots currently being synced from the primary to the
|
||||||
* because such slots are typically inactive as decoding is not allowed on
|
* standby because such slots are typically inactive as decoding is not
|
||||||
* those.
|
* allowed on those.
|
||||||
*/
|
*/
|
||||||
if (!(RecoveryInProgress() && slot->data.synced))
|
if (!(RecoveryInProgress() && slot->data.synced))
|
||||||
now = GetCurrentTimestamp();
|
now = GetCurrentTimestamp();
|
||||||
|
Reference in New Issue
Block a user