mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Note where compatibility check for replication slots is carried out
Scanning the source code gives the impression there's no check.
This commit is contained in:
3
repmgr.c
3
repmgr.c
@@ -488,7 +488,7 @@ main(int argc, char **argv)
|
|||||||
* If `use_replication_slots` set in the configuration file
|
* If `use_replication_slots` set in the configuration file
|
||||||
* and command line parameter `--wal-keep-segments` was used,
|
* and command line parameter `--wal-keep-segments` was used,
|
||||||
* emit a warning as to the latter's redundancy. Note that
|
* emit a warning as to the latter's redundancy. Note that
|
||||||
* the version check for 9.4 or later will occur afterwards.
|
* the version check for 9.4 or later is done in check_upstream_config()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if(options.use_replication_slots && wal_keep_segments_used)
|
if(options.use_replication_slots && wal_keep_segments_used)
|
||||||
@@ -506,6 +506,7 @@ main(int argc, char **argv)
|
|||||||
* NOTE: the slot name will be defined for each record, including
|
* NOTE: the slot name will be defined for each record, including
|
||||||
* the master; the `slot_name` column in `repl_nodes` defines
|
* the master; the `slot_name` column in `repl_nodes` defines
|
||||||
* the name of the slot, but does not imply a slot has been created.
|
* the name of the slot, but does not imply a slot has been created.
|
||||||
|
* The version check for 9.4 or later is done in check_upstream_config()
|
||||||
*/
|
*/
|
||||||
if(options.use_replication_slots)
|
if(options.use_replication_slots)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user