Commit Graph

  • 4a8912c2b4 Update comments and debugging output Ian Barwick 2015-01-22 10:59:33 +09:00
  • 3279e9e47e Separate functions for primary and cascading standby failover Ian Barwick 2015-01-22 10:12:03 +09:00
  • 5c4e77f8e2 do_failover() -> do_primary_failover() Ian Barwick 2015-01-16 17:28:51 +09:00
  • b09f987341 Add note Ian Barwick 2015-01-16 16:59:36 +09:00
  • fe758eda9f Update repl_nodes following failover Ian Barwick 2015-01-16 16:28:09 +09:00
  • c413cff461 Function to update node records Ian Barwick 2015-01-16 14:14:04 +09:00
  • 609453a848 Handle failover of top-level standby Ian Barwick 2015-01-16 12:35:01 +09:00
  • a82d37e48a Improve node metadata and upstream connecting mechanism Ian Barwick 2015-01-16 10:27:44 +09:00
  • 4b6c097a3e Use AS for consistency Ian Barwick 2015-01-16 08:46:28 +09:00
  • 3dfa33d01d Store upstream node ID if set Ian Barwick 2015-01-16 00:29:43 +09:00
  • a20afe28ec Add upstream_node_id to repl_nodes table Ian Barwick 2015-01-15 23:54:07 +09:00
  • 692204e381 Consolidate duplicated schema check code Ian Barwick 2015-01-15 18:34:51 +09:00
  • 2ae27521a3 Some infrastructure for supporting cascading replication Ian Barwick 2015-01-15 15:37:09 +09:00
  • d141d2a8aa Remove unused variable Ian Barwick 2015-01-14 16:25:24 +09:00
  • fc6f5ddaa7 Add function repmgr_get_primary_conninfo() Ian Barwick 2015-01-14 16:23:08 +09:00
  • 4b7fb70de3 Add current year to copyright Ian Barwick 2015-01-14 15:50:42 +09:00
  • 5db6489ae5 Initial support for cascaded standbys Ian Barwick 2015-01-14 14:18:57 +09:00
  • 96f6695a52 Clean up repmgr_get_last_standby_location() polling loop Ian Barwick 2015-01-13 16:06:20 +09:00
  • f006a79af9 Clean up log messages for invalid LSNs Ian Barwick 2015-01-13 14:53:55 +09:00
  • 3a8aa86e0c Remove pointless check Ian Barwick 2015-01-13 14:25:58 +09:00
  • 9cbac64ad4 Remove pointless check Ian Barwick 2015-01-13 14:23:01 +09:00
  • 242fc8416c Consolidate disconnection calls Ian Barwick 2015-01-13 13:59:27 +09:00
  • 355d8b8f01 Use InvalidXLogRecPtr for pedantic correctness Ian Barwick 2015-01-13 13:47:22 +09:00
  • 8df7966540 Rename variable Ian Barwick 2015-01-13 13:42:30 +09:00
  • 1a790549ea Refactor if-statement Ian Barwick 2015-01-13 13:40:47 +09:00
  • b80d25ad33 Add some hopefully correct comments for future reference Ian Barwick 2015-01-13 11:12:20 +09:00
  • a1a61e5ec3 Remove unneeded include Ian Barwick 2015-01-13 07:57:54 +09:00
  • 1221b73293 repmgrd: explicitly state INSERT statement target columns Ian Barwick 2015-01-12 20:47:22 +09:00
  • 93d5d7905f Remove "XL*" macros and rationalize XLogRecPtr handling Ian Barwick 2015-01-12 17:18:57 +09:00
  • 41a5274b44 Comment for consistency Ian Barwick 2015-01-12 15:30:17 +09:00
  • d9f83cf620 Replace hard-coded value with local_options.reconnect_attempts; Ian Barwick 2015-01-12 14:09:44 +09:00
  • 905a2d0a5e Have witness server retry determining the new master Ian Barwick 2015-01-12 14:05:37 +09:00
  • 526803c5e0 Witness server should always try to re-connect to primary Ian Barwick 2015-01-12 13:32:04 +09:00
  • 2ff24fecf2 Remove redundant constant Ian Barwick 2015-01-12 13:16:13 +09:00
  • a5ead16d6f Change query to use COUNT(*) Ian Barwick 2015-01-12 12:24:27 +09:00
  • 5fb84b9627 Witness server: on failover attempt to reconnect to new master Ian Barwick 2015-01-12 11:23:20 +09:00
  • 437485bf6a Fix debugging output Ian Barwick 2015-01-12 09:47:13 +09:00
  • 822867ec24 Fix thinko Ian Barwick 2015-01-12 09:40:47 +09:00
  • 5b88a980b8 Add some debugging output Ian Barwick 2015-01-12 07:57:42 +09:00
  • e958b8f2d7 Fix typo Ian Barwick 2015-01-09 18:44:31 +09:00
  • 74a963a10e Fix schema quoting Ian Barwick 2015-01-09 15:51:34 +09:00
  • dd064cb47c res1 -> res Ian Barwick 2015-01-09 11:20:07 +09:00
  • 17de82493a Consolidate repl_node insert statements Ian Barwick 2015-01-09 11:14:47 +09:00
  • f2fa60f5cf Tidy up SQL statements Ian Barwick 2015-01-09 09:46:41 +09:00
  • acf2744ed7 Replace magic number with defined constant Ian Barwick 2015-01-08 17:19:02 +09:00
  • 7bafd490c1 Remove #define for pre-9.3 versions Ian Barwick 2015-01-08 16:59:10 +09:00
  • 7c15176646 Clean up comments Ian Barwick 2015-01-08 14:04:43 +09:00
  • 97cbd7d557 Remove superfluous variable Ian Barwick 2015-01-08 13:23:33 +09:00
  • 5798241205 Add 'recovery_target_timeline = latest' to recovery.conf Ian Barwick 2015-01-08 10:37:27 +09:00
  • 5b5b4cd4cd Remove redundant comment Ian Barwick 2015-01-08 09:51:53 +09:00
  • 9dd78f34db Add missing short options to --help output Ian Barwick 2015-01-07 08:56:05 +09:00
  • a5b5e3d384 No need to store master version number here Ian Barwick 2015-01-07 08:55:17 +09:00
  • 241622694d Remove support for pre-9.3 servers Ian Barwick 2015-01-06 14:53:26 +09:00
  • 687872e979 get_data_directory() -> get_pg_setting() Ian Barwick 2015-01-06 13:47:31 +09:00
  • 3033f2dfaf Fix get_cluster_size() Ian Barwick 2015-01-06 10:30:33 +09:00
  • 718024454e Add function get_data_directory() Ian Barwick 2015-01-06 10:06:58 +09:00
  • e3379c0fbf Bump minimum supported version to 9.3 Ian Barwick 2015-01-06 08:29:57 +09:00
  • ba4413ce91 Change any log messages using 'master' to 'primary' Ian Barwick 2015-01-06 08:19:48 +09:00
  • e85e0732ef Nope, no real point doing that here Ian Barwick 2015-01-05 22:55:58 +09:00
  • 97fb3dbb14 Have 'standby promote' use 'pg_ctl promote' Ian Barwick 2015-01-05 21:28:11 +09:00
  • 8e09e7b57c Fix error code handling Ian Barwick 2015-01-05 10:49:21 +09:00
  • 4f37515113 Pass username to pg_basebackup Ian Barwick 2015-01-05 10:29:02 +09:00
  • 413cc6eb54 Add todo comment Ian Barwick 2015-01-05 09:37:30 +09:00
  • f23c43b986 Clean up exit error codes Ian Barwick 2015-01-05 09:36:48 +09:00
  • 38de150436 Fix spelling Ian Barwick 2015-01-05 09:23:26 +09:00
  • a80da61203 Remove unneeded parameters Ian Barwick 2015-01-04 17:10:29 +09:00
  • 4fbe8ca70e copy_remote_files() now only needs to copy individual files Ian Barwick 2015-01-04 16:03:27 +09:00
  • 1aa12a122f Selectively copy configuration files if not in master data directory Ian Barwick 2015-01-04 15:59:07 +09:00
  • c54d5f9a9c Add check for max_wal_senders > 0 on master Ian Barwick 2015-01-04 08:31:52 +09:00
  • db49206fc5 Clean up logging output Ian Barwick 2015-01-04 08:25:50 +09:00
  • 017f66e15e Make --check-master-config state no problems found Ian Barwick 2015-01-04 08:15:11 +09:00
  • e06949db87 Add option --check-master-config Ian Barwick 2015-01-03 11:13:09 +09:00
  • 2f6ce44cab Consolidate server version checks in repmgr Ian Barwick 2015-01-03 09:25:08 +09:00
  • 1f21040fb3 Fix help output formatting Ian Barwick 2015-01-03 08:08:47 +09:00
  • 4e9c58c7db Update copyright to 2015 Ian Barwick 2015-01-03 08:06:09 +09:00
  • 3e983b258c Fix help output formatting Ian Barwick 2015-01-03 08:08:47 +09:00
  • 9093a9d1ce Update copyright to 2015 Ian Barwick 2015-01-03 08:06:09 +09:00
  • 4305f76fa9 Remove unused code Ian Barwick 2015-01-02 08:27:20 +09:00
  • 7700086703 Use pg_basebackup Ian Barwick 2014-12-31 11:04:01 +09:00
  • 8b69b1e16f Optionally retrieve server_version string as well Ian Barwick 2014-12-29 15:52:53 +09:00
  • f94626bf7b Refactor version number detection Ian Barwick 2014-12-29 14:54:04 +09:00
  • 4c64d52afb Update repmgrd usage examples and help output Ian Barwick 2014-12-25 10:52:50 +09:00
  • 6f80cd5441 Add option "--initdb-no-pwprompt" Ian Barwick 2014-12-24 19:07:08 +09:00
  • ee69730f8b Error message correction Ian Barwick 2014-12-24 15:36:03 +09:00
  • 9306726e06 Add note about repmgr.conf.sample Ian Barwick 2014-12-24 13:15:45 +09:00
  • 44fa98f828 Add links to relevant blog posts Ian Barwick 2014-12-23 09:12:29 +09:00
  • 28fd9d5aeb Spelling Ian Barwick 2014-12-22 16:21:08 +09:00
  • 24b2ee09b3 Add -S/--superuser option for witness database creation Ian Barwick 2014-12-22 16:01:58 +09:00
  • 8faf41dd94 Fix markup Ian Barwick 2014-12-18 16:41:24 +09:00
  • 763881b1ed Whitespace cleanup Ian Barwick 2014-12-18 10:32:28 +09:00
  • 94f520e1de Fix variable name Ian Barwick 2014-12-09 15:14:41 +09:00
  • 4a445e7f8a Fix syntax errors in repmgr.c Marco Nenciarini 2014-10-30 12:09:55 +01:00
  • 3c1d72a5ea Code review: Do not use psql on do_witness_create, use createdb and createuser binaries instead Jaime Casanova 2014-10-29 19:25:14 -05:00
  • d4b9a32a86 errcode.h is a local header. Martín Marqués 2014-09-29 16:09:55 -03:00
  • 07a216ca25 If the user doesn't pass the port on which the primary server is listening we have to assume it's the DEFAULT_MASTER_PORT. Martín Marqués 2014-09-29 16:06:05 -03:00
  • d3c067f1bd Clarify repmgr database role Ian Barwick 2014-07-16 14:10:18 +09:00
  • e6caf11bf2 Fix pg_hba.conf example Ian Barwick 2014-07-16 13:51:05 +09:00
  • 9909881d81 Update HISTORY for minor release 2.0.1 Ian Barwick 2014-07-16 11:00:58 +09:00
  • 8073a294f0 Formatting fixes Ian Barwick 2014-07-16 10:58:05 +09:00
  • bf5e0b9b48 Correct year in specfile changelog Ian Barwick 2014-07-16 09:58:51 +09:00