Martin
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 .
Alvaro Herrera gave me some tips which pointed me in the correct
direction.
This was reported by sungjae lee <sj860908@gmail.com >
2016-05-06 17:34:46 -03:00
Martin
1ccd0edad2
We were not checking the return code after rsyncing the tablespaces.
...
This fixes #168
2016-04-17 17:59:50 -03:00
Martin
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.)
This fixes #149
2016-04-17 17:59:50 -03:00
Ian Barwick
300b9f0cc2
Fix pre-9.6 wal_level check
2016-04-12 16:18:29 +09:00
Ian Barwick
274a30efa5
Fix pre-9.6 wal_level check
v3.1.2
2016-04-12 16:17:50 +09:00
Ian Barwick
db63b5bb1c
Fix hint message formatting
2016-04-12 16:08:07 +09:00
Ian Barwick
0efee4cf65
Fix hint message formatting
2016-04-12 16:07:38 +09:00
Ian Barwick
0cb2584886
Bump version
...
3.1.2
2016-04-12 15:56:39 +09:00
Ian Barwick
b88d27248c
Use "immediately_reserve" parameter in pg_create_physical_replication_slot (9.6)
2016-04-12 15:56:06 +09:00
Ian Barwick
683c54325e
Enable repmgr to be compiled with PostgreSQL 9.6
2016-04-12 15:55:51 +09:00
Ian Barwick
70d398cd47
Update HISTORY
2016-04-12 15:53:40 +09:00
Ian Barwick
7b7d80e5f2
Update HISTORY
2016-04-12 15:53:33 +09:00
Ian Barwick
e100728b93
Update HISTORY
2016-04-12 15:51:42 +09:00
Ian Barwick
d104f2a914
Update HISTORY
2016-04-12 15:51:42 +09:00
Ian Barwick
2946c097f0
repmgrd: rename some variables to better match the system functions they're populated from
2016-04-12 15:51:42 +09:00
Ian Barwick
a538ceb0ea
Remove duplicate inclusion from header file
2016-04-12 15:51:42 +09:00
Ian Barwick
5a2a8d1c82
Update HISTORY
2016-04-12 15:51:41 +09:00
Ian Barwick
b5a7efa58e
Preserve failover slots when cloning a standby, if enabled
2016-04-12 15:51:38 +09:00
Ian Barwick
96b0e26084
Remove duplicate inclusion from header file
2016-04-06 14:16:00 +09:00
Ian Barwick
91c498f6f1
Update HISTORY
2016-04-06 11:57:46 +09:00
Ian Barwick
d48093e732
Preserver failover slots when cloning a standby, if enabled
2016-04-06 11:20:27 +09:00
Ian Barwick
3f0d1754a4
MAXFILENAME -> MAXPGPATH
2016-04-06 11:20:27 +09:00
Craig Ringer
f27979bbe1
WIP support for preserving failover slots
2016-04-06 11:20:27 +09:00
Ian Barwick
9f6f58e4ed
MAXFILENAME -> MAXPGPATH
2016-04-06 11:19:00 +09:00
Craig Ringer
c22f4eaf6f
WIP support for preserving failover slots
2016-04-06 11:18:54 +09:00
Martin
925d82f7a4
Add to the documentation the need to have archive_mode and
...
archive_command set in postgresql.conf
Fixes #154
2016-04-05 21:37:14 -03:00
Ian Barwick
1db577e294
Update Makefile
...
Add include file dependencies (see caveat in file).
Also update comments.
2016-04-06 09:20:00 +09:00
Martin
a886fddccc
We were not checking the return code after rsyncing the tablespaces.
...
This fixes #168
2016-04-05 15:30:42 -03:00
Martin
83e5f98171
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.)
This fixes #149
2016-04-05 15:22:40 -03:00
Ian Barwick
eb31a56186
Enable long option --pgdata as alias for -D/--data-dir
...
pg_ctl provides -D/--pgdata; we want to be as close to the core utilities
as possible.
2016-04-05 22:30:19 +09:00
Ian Barwick
8cd2c6fd05
Add comment about wal_level setting interpretation
2016-04-04 14:57:20 +09:00
Ian Barwick
e3e1c5de4e
Use "immediately_reserve" parameter in pg_create_physical_replication_slot (9.6)
2016-04-04 12:56:00 +09:00
Ian Barwick
f9a150504a
Enable repmgr to be compiled with PostgreSQL 9.6
2016-04-04 12:41:03 +09:00
Ian Barwick
e9445a5d5e
Make self-referencing foreign key on repl_nodes table deferrable
2016-04-01 15:20:36 +09:00
Ian Barwick
9a2717b5e3
Improve debugging output for node resyncing
...
We'll need this for testing.
2016-04-01 15:20:32 +09:00
Ian Barwick
5bc809466c
Make self-referencing foreign key on repl_nodes table deferrable
2016-04-01 15:19:22 +09:00
Ian Barwick
dd6ea1cd77
Rename copy_configuration () to witness_copy_node_records()
...
As it's witness-specific. Per suggestion from Martín.
2016-04-01 11:30:08 +09:00
Ian Barwick
5d32026b79
Improve debugging output for node resyncing
...
We'll need this for testing.
2016-04-01 11:29:35 +09:00
Ian Barwick
de5908c122
Make witness server node update an atomic operation
...
If the connection to the primary is lost, roll back to the previously
known state.
TRUNCATE is of course not MVCC-friendly, but that shouldn't matter here
as only one process should ever be looking at this table.
2016-04-01 11:15:27 +09:00
Ian Barwick
2a8d6f72c6
Make witness server node update an atomic operation
...
If the connection to the primary is lost, roll back to the previously
known state.
TRUNCATE is of course not MVCC-friendly, but that shouldn't matter here
as only one process should ever be looking at this table.
2016-04-01 11:07:17 +09:00
Ian Barwick
190cc7dcb4
Rename copy_configuration () to witness_copy_node_records()
...
As it's witness-specific. Per suggestion from Martín.
2016-04-01 08:44:23 +09:00
Ian Barwick
4b5c84921c
Replace MAXFILENAME with MAXPGPATH
2016-03-31 20:11:10 +09:00
Ian Barwick
819937d4bd
Replace MAXFILENAME with MAXPGPATH
2016-03-31 20:10:39 +09:00
Ian Barwick
aaa8d70cef
Comment out configuration items in sample config file
...
The configured values are either the defaults, or examples which
may not work in a real environment. If this file is being used as
a template, the onus is on the user to uncomment and check all
desired parameters.
2016-03-31 15:14:30 +09:00
Ian Barwick
57299cb978
Comment out configuration items in sample config file
...
The configured values are either the defaults, or examples which
may not work in a real environment. If this file is being used as
a template, the onus is on the user to uncomment and check all
desired parameters.
2016-03-31 15:14:15 +09:00
Gianni Ciolli
ca31b846e7
Rewording comment for clarity.
2016-03-31 15:01:29 +09:00
Ian Barwick
59f503835b
Merge branch 'gciolli-master'
2016-03-31 15:00:29 +09:00
Ian Barwick
33e626cd75
Merge branch 'master' of https://github.com/gciolli/repmgr into gciolli-master
2016-03-31 15:00:10 +09:00
Ian Barwick
a27cecb559
Update HISTORY
2016-03-31 14:59:03 +09:00
Ian Barwick
491ec37adf
Update HISTORY
2016-03-31 14:58:50 +09:00