Ian Barwick
5948cf6cda
repmgr standby switchover: add sanity check for pg_rewind useability
...
pg_rewind will only be executed on a demoted primary if explictly
requested, to prevent transactions on the primary, which
were never replicated, from being automatically overwritten.
If --force-rewind is provided, we'll need to check pg_rewind
is actually useable before we need to use it.
2017-08-04 00:45:55 +09:00
Ian Barwick
cbe19d5868
repmgr node status: collate output into list
...
To make output in different formats (e.g. CSV) easier.
2017-07-25 09:27:21 +09:00
Ian Barwick
a793e951b6
Remove unused function
...
PQExpBuffers used to generate SQL, no need to worry about maximum
query length and more flexible for generating dynamic queries.
2017-07-25 08:22:21 +09:00
Ian Barwick
00fd8e81f8
"standby clone": basic port complete
2017-05-02 14:25:08 +09:00
Ian Barwick
611e3b5e29
Further "standby clone" code
2017-05-01 23:34:01 +09:00
Ian Barwick
dc347f1484
Additional "standby clone" code
...
We'll break up the unwieldy "do_standby_clone()" function into discrete
unit for easier maintenance.
2017-04-28 22:00:26 +09:00
Ian Barwick
1b785d9a20
Add simple output for CLUSTER EVENT
2017-04-26 10:31:56 +09:00
Ian Barwick
226ba99804
Refactor command line option checks
2017-04-25 22:26:12 +09:00
Ian Barwick
001d887e8d
Initial database functions
2017-04-21 15:12:33 +09:00