Ian Barwick
|
124398bed5
|
Replace is_standby() with get_recovery_type()
We what to know what kind of node it is, not whether it's a standby or not.
|
2017-06-09 11:25:43 +09:00 |
|
Ian Barwick
|
51da33a260
|
Initial implementation of "standby promote"
|
2017-05-10 09:24:51 +09:00 |
|
Ian Barwick
|
c7f49541a3
|
Add "standby unregister"
|
2017-05-08 23:37:53 +09:00 |
|
Ian Barwick
|
7844afa074
|
Implement "standby register"
|
2017-05-05 10:50:41 +09:00 |
|
Ian Barwick
|
06b79f2263
|
"standby clone": ensure replication user is used when conninfo str provided
|
2017-05-05 00:13:04 +09:00 |
|
Ian Barwick
|
10959d98bc
|
"standby clone": honour -S/--superuser setting
Refactor superuser connection detection.
|
2017-05-02 17:58:57 +09:00 |
|
Ian Barwick
|
00fd8e81f8
|
"standby clone": basic port complete
|
2017-05-02 14:25:08 +09:00 |
|
Ian Barwick
|
a960ed9d49
|
"standby clone": perform clone operations
|
2017-05-02 09:58:17 +09:00 |
|
Ian Barwick
|
8f74d1b946
|
"standby clone": create replication slot
|
2017-05-02 00:38:36 +09:00 |
|
Ian Barwick
|
bcb17dd71a
|
More functionality for "standby clone"
|
2017-04-29 22:41:43 +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
|
cd0509194d
|
Validate --node-id/--node-name, if provided and acceptable
Also update --help output.
|
2017-04-26 21:18:28 +09:00 |
|
Ian Barwick
|
ef5c6b37a4
|
Add event logging
|
2017-04-24 23:20:23 +09:00 |
|
Ian Barwick
|
8a04879953
|
Parameterize record creation/update queries
Also merge the main functionality into a common function to avoid
duplication.
|
2017-04-24 22:21:38 +09:00 |
|
Ian Barwick
|
ca6b493763
|
create and update node records
|
2017-04-24 10:24:44 +09:00 |
|
Ian Barwick
|
18c2cfda0b
|
Fix tabulation
|
2017-04-22 09:06:42 +09:00 |
|
Ian Barwick
|
a16bbbf107
|
master register: check for existing master presence/active record
|
2017-04-21 19:47:31 +09:00 |
|
Ian Barwick
|
77870d3887
|
master register: create repmgr extension
|
2017-04-21 18:38:28 +09:00 |
|
Ian Barwick
|
001d887e8d
|
Initial database functions
|
2017-04-21 15:12:33 +09:00 |
|