Witness server - extract explicit port setting from conninfo setting

This makes the '-l/--local-port' option redundant, which is now
marked as deprecated.
This commit is contained in:
Ian Barwick
2015-10-01 09:42:44 +09:00
parent 6da03a6157
commit 1c9121c2d8
3 changed files with 33 additions and 3 deletions

View File

@@ -203,8 +203,11 @@ repmgr will also ask for the superuser password on the witness database so
it can reconnect when needed (the command line option --initdb-no-pwprompt
will set up a password-less superuser).
By default the witness server will listen on port 5499; this value can be overridden
with the -l/--local-port option.
By default the witness server will listen on port 5499; this value can be
overridden by explicitly providing the port number in the conninfo string
in repmgr.conf. (Note that it is also possible to specify the port number
with the -l/--local-port option, however this option is now deprecated and
will be overridden by a port setting in the conninfo string).
Start the repmgrd daemons
-------------------------