Ian Barwick
3f98e1b91b
Replace "slave" with "standby" for consistency
...
"standby" is used everywhere except in these two error messages.
2015-11-30 16:11:21 +09:00
Ian Barwick
8af08ab3f4
Remove duplicated TODO item
...
Conflicts:
TODO
2015-11-30 16:11:01 +09:00
Ian Barwick
ff038a5148
Update HISTORY
2015-11-30 16:10:04 +09:00
Ian Barwick
f56f70c2a6
Specify relevant node in error message
2015-11-30 16:09:59 +09:00
Ian Barwick
d353fe2a9f
Terminate repmgrd if standby is no longer connected to upstream
2015-11-30 16:09:50 +09:00
Ian Barwick
a70a44605f
Update FAQ entry about witness port specification
2015-11-30 16:09:41 +09:00
Ian Barwick
d14dcb3d8b
Add FAQ item about repmgr permissions in pg_hba.conf
2015-11-30 16:09:28 +09:00
Ian Barwick
249ac7c72a
Update TODO
2015-11-30 16:09:19 +09:00
Ian Barwick
9d850fc4bd
Add note about default log level
2015-11-30 16:09:14 +09:00
Ian Barwick
42cb811a07
Put declarations at top of file
2015-11-30 16:09:08 +09:00
Ian Barwick
1e202540e3
Explicitly set default value for 'use_replication_slots'
2015-11-30 16:09:01 +09:00
Ian Barwick
52db03d320
Add 'primary_response_timeout' as synonym for 'master_response_timeout'
...
We'll switch terminology in a future release and maintain
'master_response_timeout' for backwards compatibility
2015-11-30 16:08:56 +09:00
Ian Barwick
60d720f0c7
Clarify items in the sample repmgr.conf file
...
Based on customer feedback.
2015-11-30 16:08:47 +09:00
Ian Barwick
34af7dec2a
Use pg_malloc0() instead of malloc()
...
See also d08bd352c1
2015-11-30 16:08:39 +09:00
Ian Barwick
a59ea243c0
Improve logging and event notifications when following new upstream node
2015-11-30 16:08:30 +09:00
Ian Barwick
0c5025b3d6
Add note about checking replication slots when following upstream node
2015-11-30 16:08:07 +09:00
Ian Barwick
42b79b9b54
Improve log messages when following new primary
2015-11-30 16:07:39 +09:00
Ian Barwick
2e47c6b40b
Minor formatting tweak
2015-11-30 16:07:32 +09:00
Ian Barwick
6fbff4747f
Clarify some items in sample config file
...
Also change "master" to "primary" in the comments for consistency
with main PostgreSQL terminology. We'll need to add aliases
for the configuration parameters at some point...
2015-11-30 16:07:23 +09:00
Ian Barwick
cc567d38c8
Update TODO
...
Conflicts:
TODO
2015-11-30 16:04:39 +09:00
Ian Barwick
69c552b8e0
Only log some debug items if verbose flag is set.
2015-11-30 16:03:56 +09:00
Ian Barwick
51967d2bd8
Add missing space
2015-11-30 16:03:50 +09:00
Ian Barwick
97be9c0cda
Reword log level error message to be more like the Postgres one
2015-11-30 16:03:43 +09:00
Ian Barwick
00a28fbb1e
Clarify purpose of get_repmgr_schema()
2015-11-30 16:03:17 +09:00
Ian Barwick
d512bac31d
Clean up --help output
...
There are a confusing number of command line options, some
of which are only valid for particular operations, e.g. "standby clone".
2015-11-30 16:02:59 +09:00
Martín Marqués
fb6781775d
Fix bug which prevents repmgrd from starting when the cluster name has
...
upper case letters.
2015-10-08 19:46:34 -03:00
Ian Barwick
04c751a912
Update HISTORY
2015-10-02 14:40:28 +09:00
Ian Barwick
2615cffecc
v3.0.2
...
Not yet tagged, pending a couple of tests
v3.0.2
2015-10-02 11:46:13 +09:00
Ian Barwick
1f838f99c2
Update TODO
2015-10-02 11:46:13 +09:00
Ian Barwick
d3f119005b
Update version string to 3.0.1
2015-10-02 11:45:57 +09:00
Ian Barwick
db6d4d8820
Update version string
2015-10-02 11:45:57 +09:00
Ian Barwick
7a8a50e229
Add CONTRIBUTING.md
2015-10-02 10:18:06 +09:00
Ian Barwick
e188044593
Clean up markup
2015-10-02 10:07:36 +09:00
Ian Barwick
636f4b03c6
Spelling and markup fixes
2015-10-02 09:55:34 +09:00
Ian Barwick
bf96b383a3
Merge branch 'eternaltyro-master'
2015-10-02 09:49:55 +09:00
Ian Barwick
3a2e40f381
Merge branch 'master' of https://github.com/eternaltyro/repmgr into eternaltyro-master
2015-10-02 09:49:39 +09:00
Minh Danh
c608bb28ee
Fix some typos
2015-10-02 08:03:55 +09:00
Ian Barwick
ca9c2e1143
Fix -D/--data-dir's long option
...
This was erroneously rendered as --dest-dir. This bugfeature seems
to have been around for a long time; however as the only way anyone
could know of the existence of --dest-dir is by reading the source
code, we can safely remove it.
Pointed out by Github user Jehan-Guillaume (ioguix) de Rorthais.
2015-10-02 07:50:19 +09:00
Ian Barwick
3a6d6b8899
Fix typo in README.md
...
Reported by Github user knopwob.
2015-10-02 07:17:39 +09:00
Ian Barwick
4091cb7f18
Update TODO
2015-10-01 16:09:37 +09:00
Ian Barwick
870b0a53b6
Allow 'primary' as synonym for 'master'.
...
"Primary" is the term preferred in the PostgreSQL documentation, so
we should at least support it.
Practically this means it's possible to write "rempgr primary register"
in place of "repmgr master register".
The next feature-release should replace "master" with "primary" in
the documentation and log messages.
Per gripe in Github #112 .
2015-10-01 16:01:12 +09:00
Ian Barwick
6184cc57be
Bump version in HEAD
2015-10-01 13:37:23 +09:00
Ian Barwick
e1254b6773
Update HISTORY
2015-10-01 13:24:02 +09:00
Ian Barwick
1c9121c2d8
Witness server - extract explicit port setting from conninfo setting
...
This makes the '-l/--local-port' option redundant, which is now
marked as deprecated.
2015-10-01 09:42:44 +09:00
Ian Barwick
6da03a6157
Free connection options array after use.
2015-10-01 09:16:36 +09:00
Ian Barwick
9bb6befa25
Sanity check 'conninfo' parameter
...
Catch errors early, it makes everyone's life easier.
2015-10-01 09:06:27 +09:00
Ian Barwick
a8e5c68d03
Better document '-l/--local-port' option.
...
Per Github #59 .
2015-10-01 08:40:27 +09:00
Ian Barwick
b83e18c503
Fix '-l, --local-port' help output.
...
Is for witness server only.
Use constants for default port definitions while we're at it.
Github #123 .
2015-10-01 08:24:14 +09:00
Ian Barwick
d4b845d213
'repmgr witness create --force': overwrite any existing node record
...
Consistent with 'repmgr standby register --force'.
Fixes Github #122 .
2015-10-01 08:02:06 +09:00
Ian Barwick
75aad9a85e
repmgr witness create --force: overwrite existing data directory
...
Per Github #82 (dimitri).
2015-09-30 17:05:54 +09:00