Ian Barwick
f94626bf7b
Refactor version number detection
...
Use the reported `server_version_num` integer for version number
detection and comparison. This makes it easier to set an arbitrary
minimum supported version (rather than "9.0 or later") as well
as future-proofing for 10.x and later.
2014-12-29 14:54:04 +09:00
Ian Barwick
4c64d52afb
Update repmgrd usage examples and help output
2014-12-25 10:52:50 +09:00
Ian Barwick
6f80cd5441
Add option "--initdb-no-pwprompt"
...
Previously repmgr passed the -W flag to initdb, which forced
manual input of a password; this option removes the -W flag
to make repetitive testing easier.
2014-12-24 19:07:08 +09:00
Ian Barwick
ee69730f8b
Error message correction
2014-12-24 15:36:03 +09:00
Ian Barwick
9306726e06
Add note about repmgr.conf.sample
2014-12-24 13:15:45 +09:00
Ian Barwick
44fa98f828
Add links to relevant blog posts
2014-12-23 09:12:29 +09:00
Ian Barwick
28fd9d5aeb
Spelling
2014-12-22 16:21:08 +09:00
Ian Barwick
24b2ee09b3
Add -S/--superuser option for witness database creation
...
Previously the witness database creation code was hard-coding the
username 'postgres' when accessing the previously initialised database.
However initdb was not passed any explicit username, meaning the
default database superuser name was the same as the user running
repmgr.
With this patch, a superuser user name (default: postgres) will
be passed to initdb.
Per report by eggyknap [1]
[1] https://github.com/2ndQuadrant/repmgr/issues/38
2014-12-22 16:01:58 +09:00
Ian Barwick
8faf41dd94
Fix markup
2014-12-18 16:42:09 +09:00
Ian Barwick
763881b1ed
Whitespace cleanup
2014-12-18 10:52:20 +09:00
Ian Barwick
94f520e1de
Fix variable name
2014-12-09 15:14:41 +09:00
Marco Nenciarini
f72bb2f093
Fix syntax errors in repmgr.c
2014-10-30 12:09:55 +01:00
Jaime Casanova
927667905e
Code review: Do not use psql on do_witness_create,
...
use createdb and createuser binaries instead
2014-10-29 19:25:14 -05:00
Jaime2ndQuadrant
684d66f48e
Merge pull request #27 from Nexperteam/witness-fixes
...
Witness fixes: create a db and user to avoid using postgres
This is so, we can create the appropiate user and database on the witness.
2014-10-29 19:05:38 -05:00
Jaime2ndQuadrant
406c325ccb
Merge pull request #23 from wamonite/fix_witness
...
fix: witness creation and monitoring.
On copy_configuration() we are using the res variable when is still used on the loop.
2014-10-29 18:44:53 -05:00
Martín Marqués
c23ee3830b
errcode.h is a local header.
2014-09-29 16:09:55 -03:00
Martín Marqués
dc0dfe9b56
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.
This was not done, so we added a check to see if it has a value that is
usable, else we use DEFAULT_MASTER_PORT.
2014-09-29 16:06:05 -03:00
Ian Barwick
313d787ebf
Clarify repmgr database role
2014-07-16 14:10:18 +09:00
Ian Barwick
253992c5ec
Fix pg_hba.conf example
2014-07-16 13:51:05 +09:00
Ian Barwick
47b7c4ce06
Update HISTORY for minor release 2.0.1
v2.0.1
2014-07-16 11:00:58 +09:00
Ian Barwick
99ed9a065e
Formatting fixes
2014-07-16 10:58:05 +09:00
Ian Barwick
a87d859e56
Correct year in specfile changelog
2014-07-16 09:58:51 +09:00
Ian Barwick
7350a8bf57
Fix code block formatting
2014-07-16 08:07:07 +09:00
Ian Barwick
75baed233b
Convert QUICKSTART file to markdown format
...
Less effort for more consistent formatting (at least the way
github renders it).
2014-07-16 07:57:00 +09:00
Ian Barwick
5b9ac4585b
Formatting fixes
2014-07-07 14:10:00 +09:00
Ian Barwick
2cbee90f35
Fix formatting
2014-07-07 11:51:10 +09:00
Ian Barwick
fa7d8df534
Add a "quickstart" guide
...
Provides a succinct overview of the steps needed to get repmgr
up and running as.
2014-07-07 11:39:26 +09:00
Ian Barwick
0cbd5d3933
Fix log messages in do_standby_promote()
...
Initial connection is to current standby, before attempting to
connect to old master.
2014-07-07 11:30:29 +09:00
Ian Barwick
a0e4c99ab4
Typo fixes
2014-07-07 11:10:32 +09:00
Ian Barwick
98c5215871
Change successful standby promotion message to log level 'NOTICE'
...
Was previously 'ERROR'.
2014-07-07 11:09:07 +09:00
Ian Barwick
e40b9db0a6
Properly specify rsync --exclude directories
...
Using '--exclude=dirname/*' to explicitly specify directories whose contents
should not be copied. This will result in empty directories being created
on the destination if they exist on the source, but that's not a problem as
they are needed anyway.
Previously the generated rsync command contained '--exclude=pg_log*', which
will break replication on 9.5 as the wildcard expansion prevents the
'pg_logical' directory from being copied.
2014-07-07 10:42:45 +09:00
Ian Barwick
54e62c3d65
Typo fixes and minor wording tweaks for clarity
2014-07-03 15:41:51 +09:00
Abhijit Menon-Sen
bfd482bebc
Merge pull request #28 from Nexperteam/rhel-scripts
...
adapt makefile for RHEL + RHEL specific files
2014-06-26 22:55:56 +05:30
Abhijit Menon-Sen
6a0fc43086
Merge pull request #26 from Nexperteam/master
...
Makefile: create bindir before instal + force dir
2014-06-26 22:54:09 +05:30
Abhijit Menon-Sen
8f47111072
Merge pull request #31 from riegie/patch-1
...
Update README.rst
2014-06-26 22:51:52 +05:30
Riegie Godwin Jeyaranchen
0b5b3aaa4b
Update README.rst
...
Fixing a grammar mistake.
2014-06-19 20:53:42 -04:00
Nathan Van Overloop
d8bba0de03
init script: make status call return proper return code
2014-06-06 15:47:33 +02:00
Nathan Van Overloop
a11bb60fd5
re-add comment full debug of log.c
2014-06-06 14:45:27 +02:00
Nathan Van Overloop
4f810aee2c
on init of witness server create db and user to avoid using postgres
2014-06-06 14:36:12 +02:00
Nathan Van Overloop
73d352b2a2
adapt makefile for RHEL + RHEL specific files
2014-06-06 14:30:37 +02:00
brynhood
143aa57bb8
Makefile: create bindir before instal + force dir
...
in order to facilitate building of an rpm I've added an / to the end of the dirs.
2014-04-28 14:27:52 +02:00
Abhijit Menon-Sen
5b15fcff5c
Merge pull request #24 from PriceChild/patch-1
...
Typo in example command.
2014-04-08 11:04:09 +05:30
PriceChild
4469de533e
Typo in example command.
2014-04-01 16:31:33 +01:00
Warren Moore
30045f3bec
keep naming consistent
2014-03-24 15:18:37 +00:00
Warren Moore
d93d42fadb
fix: witness creation and monitoring
...
While reading node entries from master use a separate PGresult when inserting into witness.
Witness monitoring supplies a null value for 'last_apply_time'.
2014-03-24 14:19:29 +00:00
Christian Kruse
7c89a4d762
Merge pull request #20 from kjoe/master
...
debian init script and config file documentation fixes
2014-03-24 07:46:56 +01:00
József Kószó
b3c68dead8
debian init script and config file documentation fixes
2014-03-22 22:23:15 +01:00
József Kószó
b9ab9010c0
debian init script and config file documentation fixes
2014-03-22 22:13:33 +01:00
József Kószó
2a6c835a5a
debian init script and config file documentation fixes
2014-03-21 14:18:07 +01:00
Christian Kruse
2d48d5aee4
fixing some documentation errors
2014-03-10 15:48:44 +01:00