repmgr: disallow node ids which are not positive signed 32 bit integers

Fixes GitHub #280
This commit is contained in:
Ian Barwick
2017-03-20 11:22:09 +09:00
parent 1964f890be
commit 0916d8f2ad
3 changed files with 6 additions and 4 deletions

View File

@@ -391,7 +391,8 @@ least the following parameters:
- `cluster`: an arbitrary name for the replication cluster; this must be identical
on all nodes
- `node`: a unique integer identifying the node
- `node`: a unique integer identifying the node; note this must be a positive
32 bit signed integer between 1 and 2147483647
- `node_name`: a unique string identifying the node; we recommend a name
specific to the server (e.g. 'server_1'); avoid names indicating the
current replication role like 'master' or 'standby' as the server's