Greg Smith
02daccd6e7
Wrap use of PQconnectdbParams, add proper error
...
checking and logging when the connection fails.
2011-02-23 06:44:10 -05:00
Greg Smith
20af4ffc2c
Merge commit '3ef1fa126d9c9b9ba3b29deab7f67218cdf7ce10'
...
Conflicts:
.gitignore
Makefile
README.rst
check_dir.c
config.c
config.h
dbutils.h
repmgr.c
repmgr.conf
repmgr.h
repmgrd.c
2011-02-15 00:06:01 -05:00
Greg Smith
3ef1fa126d
astyle run against Heroku code
2011-02-14 21:51:14 -05:00
Greg Smith
5460517a43
Protect against duplicate header inclusion
2011-02-10 18:35:56 -05:00
Greg Smith
1d32133d49
Update all the copyrights to add 2011
2011-02-10 18:33:02 -05:00
Dan Farina
a52ebc412c
Merge remote-tracking branch 'origin/master' into heroku
...
The Great Whitespace Reconciliation
Conflicts:
check_dir.c
config.c
dbutils.c
repmgr.c
repmgr.h
repmgrd.c
Signed-off-by: Dan Farina <drfarina@acm.org >
2011-02-04 18:27:28 -08:00
Dan Farina
f969dca821
Hack to get passwords in recovery.conf
...
Signed-off-by: Dan Farina <drfarina@acm.org >
2010-12-22 20:10:32 -08:00
Greg Smith
9843205a4f
Reformat all source code using astyle
...
astyle --style=ansi --indent=tab
2010-12-22 19:07:01 -05:00
Greg Smith
1ddb78ddd8
Merge branch 'license' of https://github.com/gbartolini/repmgr into gbartolini-license
2010-12-22 19:02:50 -05:00
Dan Farina
7b0a142075
Merge remote branch 'gbartolini/gabriele-2010-12' into heroku
...
Conflicts:
config.c
dbutils.c
dbutils.h
repmgrd.c
Signed-off-by: Dan Farina <drfarina@acm.org >
2010-12-21 16:08:07 -08:00
Dan Farina
af2edf10a0
Attack of whitespace pedantry
...
pgsql conventions (tabs, four-spaces-wide, etc) applied all around.
Also tried to fix some very tiny capitalization errors, auto-fill
problems, and some inter-block vertical whitespacing issues.
Long strings in repmgr.c were left intact, though. They are rather
numerous and are less of a problem than tiny bits of function calls
and comments wrapping over a line; the latter kind of problem has been
mostly fixed.
Signed-off-by: Dan Farina <drfarina@acm.org >
Signed-off-by: Peter van Hardenberg <pvh@heroku.com >
2010-12-21 15:19:28 -08:00
Gabriele Bartolini
d88783a4d9
Changed pg_version() prototype in order to remove the small memory leak
2010-12-16 22:48:19 +01:00
Gabriele Bartolini
9b7a078e0e
Added license information in every source file
2010-12-16 21:50:15 +01:00
Jaime Casanova
219b4431b4
Replace the function is_supported_version() with the function pg_version()
...
the main difference is that this new function doesn't return a bool but
a string representing the current major version of the postgresql server
or an empty string if it's earlier than 9.0.
Teach all commands that could connect to master and standby that they
both should have the same major version.
2010-10-23 15:27:24 -05:00
Jaime Casanova
378bdd7bd4
Add MASTER REGISTER and STANDBY REGISTER commands.
2010-10-18 02:21:55 -05:00
Jaime Casanova
d572b0e4ca
Add const modifier to the prototype of the function get_cluster_size, to
...
allow compilation
2010-09-30 09:06:45 -05:00
postgres
44a3548c2e
Add connection options and a lot of validations, i still
...
have to complete the use of the connection options but
the program should still be usable.
2010-09-22 05:08:44 -05:00
postgres
93417715d4
Add docs, fix Makefile and fix some bugs and typos
2010-09-17 07:14:52 -05:00
postgres
a12e719259
Initial commit
2010-06-17 10:43:35 -05:00