Commit Graph

  • 8cd79fd7dd Revert "repmgr: add option -B/--remote-pg_bindir for standby switchover" Ian Barwick 2016-07-04 11:30:36 +09:00
  • 013b4b4b8a Update README/TODO about following non-master server Ian Barwick 2016-07-01 12:09:35 +09:00
  • c5a721a3cf TODO: remove resolved item Ian Barwick 2016-07-01 12:07:10 +09:00
  • a6294b7da0 Update README.md Ian Barwick 2016-07-01 10:47:20 +09:00
  • a0f02e454c repmgr: during switchover check demotion candidate's pidfile Ian Barwick 2016-07-01 09:42:55 +09:00
  • 69d9d137e0 repmgr: change default pg_ctl shutdown mode to "fast" Ian Barwick 2016-07-01 08:47:20 +09:00
  • 60bceae905 Use PQping only to check for server shutdown Ian Barwick 2016-07-01 07:50:27 +09:00
  • 746c9793ed Better detect completion of demotion candidate shutdown Ian Barwick 2016-06-30 21:27:52 +09:00
  • c30447ac90 repmgr: add option -B/--remote-pg_bindir for standby switchover Ian Barwick 2016-06-30 12:51:54 +09:00
  • 097024a32f repmgr: add new error code ERR_SWITCHOVER_FAIL Ian Barwick 2016-06-29 12:11:53 +09:00
  • 66b7dbbed7 repmgr: use make_pg_path() consistently Ian Barwick 2016-06-29 11:33:33 +09:00
  • 74f6f97f26 repmgrd: log whether in standby or witness monitor loop Ian Barwick 2016-06-29 10:31:57 +09:00
  • 968c2f1954 Add notes about connect_timeout conninfo parameter. Ian Barwick 2016-06-27 13:57:40 +09:00
  • bd76d0eb92 Update postgresql.org links to https Ian Barwick 2016-06-27 12:32:10 +09:00
  • f1ee6e19b6 Ensure configuration options correctly initialised in repmgrd.c Ian Barwick 2016-06-27 11:21:54 +09:00
  • fbb65b4a43 Remove RHEL packaging files. Ian Barwick 2016-06-24 10:19:20 +09:00
  • 3fac975de6 Prevent multiple nodes being registered with the same name. Ian Barwick 2016-06-24 09:25:41 +09:00
  • a2b5ba595a repmgrd: reword log message for clarity Ian Barwick 2016-06-23 09:47:35 +09:00
  • c16ab3c889 Fix handling of global PGconn variables in repmgrd Ian Barwick 2016-06-21 17:30:22 +09:00
  • dd5b6f9f12 Whitespace fixes Ian Barwick 2016-06-21 16:04:41 +09:00
  • 303bb22ee1 Note potential replication lag check improvement Ian Barwick 2016-06-20 12:23:34 +09:00
  • 5d8b1a3a31 monitoring: ensure that invalid replication_lag value is not inserted. Ian Barwick 2016-06-20 10:55:25 +09:00
  • 3d6c349d88 Rename "pg_restore_command" to "restore_command" Ian Barwick 2016-06-17 14:43:02 +09:00
  • 1ade1acb22 Report standby location as last apply location when in archive recovery Ian Barwick 2016-06-15 15:41:10 +09:00
  • 66fd003ab4 Schema-qualify pg_catalog objects Ian Barwick 2016-06-10 17:58:10 +09:00
  • 0d42b771f5 Remove unnecessary get_server_version() calls in do_standby_clone() Ian Barwick 2016-06-06 23:41:47 +09:00
  • 005640be51 Fix PQconninfoParse() return type check Ian Barwick 2016-06-05 10:20:42 +09:00
  • b6ebd34e2f Some other indentation fixes found Martin 2016-06-03 20:20:22 -03:00
  • 951879f80d Typo noticed by Brett Maton. Martin 2016-06-03 20:19:02 -03:00
  • 46ff9fb587 No code change, just indentation was incorrect in the failover part making it hard to read. Martin 2016-06-03 16:03:03 -03:00
  • cc610f995d Whitespace and typo fixes Ian Barwick 2016-06-03 21:25:22 +09:00
  • 384618cb33 There was a missing table in sql/repmgr2_repmgr3.sql which made events error when trying to insert them. Martin 2016-06-02 14:23:14 -03:00
  • 0dd617cfca The ALTER TABLE to set the foreign key as DEFERRABLE only worked on 9.4+, as there is no ALTER CONSTRAINT in 9.3. Martin 2016-06-02 13:56:06 -03:00
  • f18d629bd2 Typo in a comment. Martin 2016-05-30 09:41:38 -03:00
  • afc904f876 Fix typos and whitespace Ian Barwick 2016-05-30 16:01:38 +09:00
  • 3bcea46c3b Clarify handling of tablespace_map file. Ian Barwick 2016-05-30 10:48:08 +09:00
  • d7e85f7565 Clarify purpose of remapping code Ian Barwick 2016-05-30 07:47:09 +09:00
  • b14d8ddb74 Ensure read_backup_label() does not exit on error Ian Barwick 2016-05-24 17:02:32 +09:00
  • 9b2a907b09 Convert erroneously forgotten printf debug to proper logging Ian Barwick 2016-05-24 16:44:22 +09:00
  • f63d42fe77 Merge pull request #178 from gciolli/master Martín Marqués 2016-05-23 14:48:28 -03:00
  • 560066fa9d Basic CSV mode for "repmgr cluster show", enabled by --csv command line option Gianni Ciolli 2016-05-23 19:00:25 +02:00
  • 3937670d14 Added logrotate configuration file (for those who would like one ;)) and changed parameters in sysconfig file so that we use /var/log for logs and /var/run for pid files. Martin 2016-05-23 13:30:05 -03:00
  • 0daa7381b3 Debian auto-build version upgrade Gianni Ciolli 2016-05-19 19:42:26 +02:00
  • e53545af4f Merge pull request #177 from petere/fix-compiler-warning Martín Marqués 2016-05-22 09:55:50 -03:00
  • 45178c19d8 Fix compiler warning Peter Eisentraut 2016-05-21 21:04:19 -04:00
  • cf46834041 Add new option pg_restore_command. Martin 2016-05-17 15:19:20 -03:00
  • c30609426a Fix several inconsistencies added in d5d8eb2bcb8862607799d602af620e5ca98bc837 Martin 2016-05-17 15:18:19 -03:00
  • 1c49c4159c Add -X stream parameter to pg_basebackup to ensure that we get all the WALs needed without needing to set wal_keep_segments to a ridiculously high value. Martin 2016-05-13 17:27:11 -03:00
  • b6b6439819 I copied over the rmtree function (and other functions needed by this one) from the postgresql code so we use that instead of issuing system calls with rm -rf .... Martin 2016-05-11 19:30:32 -03:00
  • 16896510dc Fix log formatting v3.1.3 Ian Barwick 2016-05-17 17:24:02 +09:00
  • 9a05999abb Fix log formatting Ian Barwick 2016-05-17 17:24:02 +09:00
  • 1c155a1088 Update HISTORY Ian Barwick 2016-05-17 10:37:14 +09:00
  • 4c463a66b7 Update HISTORY Ian Barwick 2016-05-17 10:37:14 +09:00
  • 31d57f4122 Update Makefile Ian Barwick 2016-04-05 10:59:26 +09:00
  • 209de699ce README.md: improve documentation of repl_status view Ian Barwick 2016-05-16 13:51:08 +09:00
  • 7b313b9d71 README.md: improve documentation of repl_status view Ian Barwick 2016-05-16 13:51:08 +09:00
  • cf126642bd repmgrd: handle situations where streaming replication is inactive Ian Barwick 2016-05-12 21:48:17 +09:00
  • 52281fcde8 repmgrd: rename some variables to better match the system functions they're populated from Ian Barwick 2016-04-08 15:46:55 +09:00
  • de573edaaa Remove extraneous PQfinish() Ian Barwick 2016-05-12 14:05:44 +09:00
  • 4cb7f301ad Correct check for wal_level in 9.3 Ian Barwick 2016-05-12 13:06:10 +09:00
  • 87d8de4441 Remove unneeded column Ian Barwick 2016-05-12 09:56:29 +09:00
  • 6db742f81e repmgrd: better handling of missing upstream_node_id Ian Barwick 2016-05-11 21:47:40 +09:00
  • c79933685c Add missing newlines in log messages Ian Barwick 2016-05-11 21:47:40 +09:00
  • 04ba672b9f repmgrd: avoid additional connection to local instance in do_master_failover() Ian Barwick 2016-05-11 09:52:02 +09:00
  • 4f4111063a Suppress gnu_printf format warning Ian Barwick 2016-05-11 09:23:06 +09:00
  • 3a3a536e6d repmgrd: rename variable for clarity Ian Barwick 2016-05-11 08:29:55 +09:00
  • 6f7206a5a1 Don't follow the promotion candidate standby if the primary reappears Ian Barwick 2016-05-10 13:58:59 +09:00
  • f9fd1dd227 Don't terminate a standby's repmgrd if self-promotion fails due to master reappearing Ian Barwick 2016-05-10 11:45:03 +09:00
  • 8140ba9c27 The commit fixes problems not taking in account while working on the issue with rsync returning non-zero status on vanishing files on commit 83e5f98171. Martin 2016-05-06 17:34:46 -03:00
  • 32dba444e1 Enable long option --pgdata as alias for -D/--data-dir Ian Barwick 2016-04-05 22:30:19 +09:00
  • e814c1120e repmgrd: handle situations where streaming replication is inactive Ian Barwick 2016-05-12 21:48:17 +09:00
  • 247823db4d Remove extraneous PQfinish() Ian Barwick 2016-05-12 14:05:44 +09:00
  • beda22d5f9 Correct check for wal_level in 9.3 Ian Barwick 2016-05-12 13:06:10 +09:00
  • 2eb00a3e6f Remove unneeded column Ian Barwick 2016-05-12 09:56:29 +09:00
  • 0a798bf6e4 Comment fixes and formatting tweaks Ian Barwick 2016-05-12 09:52:22 +09:00
  • 21b2ff1a1f repmgrd: better handling of missing upstream_node_id Ian Barwick 2016-05-11 21:47:40 +09:00
  • 8212ff8d8a Bump version Ian Barwick 2016-05-12 07:54:42 +09:00
  • 57f9432692 Add missing newlines in log messages Ian Barwick 2016-05-11 21:47:40 +09:00
  • 54d3c7a4ca repmgrd: avoid additional connection to local instance in do_master_failover() Ian Barwick 2016-05-11 09:52:02 +09:00
  • 7fd44a3d74 Suppress gnu_printf format warning Ian Barwick 2016-05-11 09:23:06 +09:00
  • b0f6b7bad7 repmgrd: rename variable for clarity Ian Barwick 2016-05-11 08:29:55 +09:00
  • 4dbbf40196 Don't follow the promotion candidate standby if the primary reappears Ian Barwick 2016-05-10 13:58:59 +09:00
  • d5e24689a4 Don't terminate a standby's repmgrd if self-promotion fails due to master reappearing Ian Barwick 2016-05-10 11:45:03 +09:00
  • 10e47441a2 The commit fixes problems not taking in account while working on the issue with rsync returning non-zero status on vanishing files on commit 83e5f98171. Martin 2016-05-06 17:34:46 -03:00
  • 1ccd0edad2 We were not checking the return code after rsyncing the tablespaces. Martin 2016-04-05 15:30:42 -03:00
  • 59b31dd1ca Ignore rsync error code for vanished files. It's very common to come over vanish files during a backup or rsync o the data directory (dropped index, temp tables, etc.) Martin 2016-04-05 15:22:40 -03:00
  • 300b9f0cc2 Fix pre-9.6 wal_level check Ian Barwick 2016-04-12 16:17:50 +09:00
  • 274a30efa5 Fix pre-9.6 wal_level check v3.1.2 Ian Barwick 2016-04-12 16:17:50 +09:00
  • db63b5bb1c Fix hint message formatting Ian Barwick 2016-04-12 16:07:38 +09:00
  • 0efee4cf65 Fix hint message formatting Ian Barwick 2016-04-12 16:07:38 +09:00
  • 0cb2584886 Bump version Ian Barwick 2016-04-12 15:56:39 +09:00
  • b88d27248c Use "immediately_reserve" parameter in pg_create_physical_replication_slot (9.6) Ian Barwick 2016-04-04 12:56:00 +09:00
  • 683c54325e Enable repmgr to be compiled with PostgreSQL 9.6 Ian Barwick 2016-04-04 12:41:03 +09:00
  • 70d398cd47 Update HISTORY Ian Barwick 2016-04-12 15:43:38 +09:00
  • 7b7d80e5f2 Update HISTORY Ian Barwick 2016-04-12 15:37:44 +09:00
  • e100728b93 Update HISTORY Ian Barwick 2016-04-12 15:43:38 +09:00
  • d104f2a914 Update HISTORY Ian Barwick 2016-04-12 15:37:44 +09:00
  • 2946c097f0 repmgrd: rename some variables to better match the system functions they're populated from Ian Barwick 2016-04-08 15:46:55 +09:00
  • a538ceb0ea Remove duplicate inclusion from header file Ian Barwick 2016-04-06 14:15:19 +09:00
  • 5a2a8d1c82 Update HISTORY Ian Barwick 2016-04-06 11:57:34 +09:00