Commit Graph

468 Commits

Author SHA1 Message Date
Ian Barwick
fcae08f5a8 Update README 2017-10-04 09:35:34 +09:00
Ian Barwick
95cc403efb Update README 2017-10-04 09:35:31 +09:00
Ian Barwick
ccdc0a51e9 README updates 2017-10-04 09:35:26 +09:00
Ian Barwick
23c011fe5e Update regression tests 2017-10-04 09:35:21 +09:00
Ian Barwick
3257e0f7c3 Update regression tests 2017-10-04 09:35:18 +09:00
Ian Barwick
7c3f6a00bd Add some sanity checks for calls to repmgrd functions 2017-10-04 09:35:13 +09:00
Ian Barwick
8c373488af "standby switchover": add note about shutdown mode in 9.3/9.4 2017-10-04 09:35:09 +09:00
Ian Barwick
f565851de3 repmgr client: clean up command line option handling 2017-10-04 09:35:04 +09:00
Ian Barwick
d6c27f8938 Standardize quoting in log messages 2017-10-04 09:34:59 +09:00
Ian Barwick
dd06ed2b92 "repmgr bdr register": actually exit on various error conditions.
Error message was displayed but execution continued.
2017-10-04 09:34:55 +09:00
Ian Barwick
97957287b4 Update "repmgr bdr --help" output 2017-10-04 09:34:50 +09:00
Ian Barwick
9a6580a312 If problems found with configuration file, show which file was read
But only if it wasn't explicitly specified with -f/--config-file.
2017-10-04 09:34:46 +09:00
Ian Barwick
ef5fc1832a Update README
Mention --csv option for "cluster matrix/crosscheck"
2017-10-04 09:34:42 +09:00
Ian Barwick
e8b74ea897 "repmgr cluster crosscheck": add --csv output
As advertised.
2017-10-04 09:34:19 +09:00
Ian Barwick
e8c5886092 README: clarify "switchover" definition 2017-10-04 09:34:14 +09:00
Ian Barwick
e288d1ae3c repmgrd: clarify comment about configuration file parsing
There's no requirement to provide a configuration file, but if not,
one must be available in one of the default locations.
2017-09-20 09:35:09 +09:00
Martín Marqués
64cebb8b26 When searching for the path of the config file we were using config_file
which is the value the user passes with the -f option. If the user didn't
pass a value, this variable will have a value of NULL.
The variable which has the correct path is config_file_path, which will
have the same value provided by config_file if it's a valid file, or
the file if found in one of the default locations.
2017-09-20 09:22:04 +09:00
Christoph Moench-Tegeder
a89084c6b5 include sys/wait.h for wait() and friends
the wait()-macros (WEXITSTATUS etc.) live in sys/wait.h as per
1003.1, and on some platforms (notably FreeBSD) compilation will
fail if wait.h isn't included explicitely.
2017-09-19 17:31:49 +02:00
Ian Barwick
8f031d3c20 Add "includedir_internal" to "PG_CPPFLAGS" 2017-09-19 22:19:04 +09:00
Ian Barwick
20224d1296 Prevent compiler truncation warnings 2017-09-19 16:24:01 +09:00
Ian Barwick
e64600d3e3 Prevent compiler truncation warnings 2017-09-19 16:15:47 +09:00
Ian Barwick
bb311892b5 Remove unused code 2017-09-19 14:47:49 +09:00
Marco Nenciarini
ea82d52151 Fix typo in repmgr help output 2017-09-18 14:21:33 +00:00
Ian Barwick
34fb09cae4 Add placeholder test 2017-09-18 21:55:23 +09:00
Ian Barwick
28675af630 Update README 2017-09-18 15:58:24 +09:00
Ian Barwick
e3defc507e Merge branch 'pg93' 2017-09-18 15:55:32 +09:00
Simon Riggs
3dad337413 Clarification at top of README 2017-09-18 06:50:32 +01:00
Simon Riggs
33a3283135 Fix a few typos in descriptive text 2017-09-18 06:07:38 +01:00
Simon Riggs
994975b8c6 Minor typos in descriptive text 2017-09-18 05:53:52 +01:00
Simon Riggs
17397334c9 Typo 2017-09-18 05:48:58 +01:00
Ian Barwick
1197c11c59 "standby clone": skip tablespace mapping in PostgreSQL 9.3 2017-09-18 13:26:35 +09:00
Ian Barwick
30b11c08e6 Disable any configuration settings not compatible with PostgreSQL 9.3
And emit a warning while we're at it.
2017-09-18 13:12:38 +09:00
Ian Barwick
750a776f1d Fixes for PostgreSQL 9.3 support 2017-09-18 11:00:39 +09:00
Ian Barwick
ea2693bc75 Move create_recovery_file() et al to repmgr-action-standby.c
As they're only ever called from there.
2017-09-18 09:53:08 +09:00
Ian Barwick
3600d98856 Remove test configuration files 2017-09-17 07:44:14 +09:00
Ian Barwick
5a3c26a0b8 Makefile: better fix for SCRIPTS_built and 9.4 2017-09-17 07:42:58 +09:00
Ian Barwick
31c7cb4e9a Fixes for 9.3 support 2017-09-15 17:13:17 +09:00
Ian Barwick
192f968d29 Workaround for 9.3 2017-09-15 11:57:33 +09:00
Ian Barwick
687c8b4e27 Initial changes for 9.3 support 2017-09-15 10:27:37 +09:00
Ian Barwick
68f4a37ca4 Update README 2017-09-14 08:57:16 +09:00
Ian Barwick
f5c9c74a75 Minor log output tweak 2017-09-14 08:57:16 +09:00
Ian Barwick
e040f95aaa "standby clone": fix replication slot generation
Slot on source node was being deleted even if source node is the intended
upstream node.
2017-09-14 08:47:56 +09:00
Ian Barwick
55f203a2fc Add "-o ConnectTimeout=10" as default in "ssh_options" 2017-09-13 13:23:16 +09:00
Ian Barwick
f194c254b8 Update README
Clarify that "standby switchover" can only be executed on a direct downstream
of the current primary.
2017-09-13 11:55:40 +09:00
Ian Barwick
e583e2eb40 "standby switchover": fix error message 2017-09-13 11:30:29 +09:00
Ian Barwick
cf58d9460c Add missing README sections 2017-09-13 08:11:56 +09:00
Ian Barwick
5da0275cdc Fix configuration file detection logging
The logger won't be initialised at this point, so we'll have to output
directly.

This is mainly useful for diagnosing how repmgr is finding (or not finding)
its configuration file.
2017-09-12 12:14:28 +09:00
Ian Barwick
621ca352df Dynamically generate "repmgr_version.h" 2017-09-12 12:02:26 +09:00
Ian Barwick
b6cd816923 Tidy up some log output 2017-09-12 11:08:41 +09:00
Ian Barwick
13d55b9bd8 Update configfile location logging output 2017-09-11 22:13:52 +09:00