Commit Graph

173 Commits

Author SHA1 Message Date
Greg Smith
5dcec5818f Update README with standard two-host examples 2011-02-23 08:42:06 -05:00
Greg Smith
9c6288993b Fix double free in standby clone 2011-02-23 07:26:39 -05:00
Greg Smith
2675101330 Make PGPASSWORD substitution in recovery.conf optional 2011-02-23 07:19:36 -05:00
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
18ef5b3cf3 Convert more uses of fprintf to use logger 2011-02-23 05:59:09 -05:00
Greg Smith
3b2203c38c Make verbose command line option useful on top of
the new logging infrastructure.
2011-02-23 05:29:29 -05:00
Greg Smith
fee7da1ba7 Fix cast on WAL lag computation to (long long) 2011-02-22 07:43:02 -05:00
Greg Smith
a98aec12e1 And one more round of astyle work 2011-02-15 00:57:12 -05:00
Greg Smith
757457ad85 Fix merge error that removed setting keywords 2011-02-15 00:55:50 -05:00
Greg Smith
45022debc6 Break out error codes, cleanup header files and HISTORY 2011-02-15 00:43:36 -05:00
Greg Smith
f6618a01c7 Post-merge astyle run 2011-02-15 00:14:13 -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
ce06e6c8e0 Fix some mistakes in the history file 2011-02-10 19:34:50 -05:00
Greg Smith
0ad3d91e9c Cleanup history and credits 2011-02-10 18:57:50 -05:00
Greg Smith
0130420947 astyle cleanup run after recent merges 2011-02-10 18:55:51 -05:00
Greg Smith
c3af4274ae Document astyle command line used to standardize
code formatting
2011-02-10 18:55:17 -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
Greg Smith
1be62fa6b2 Fix use of "options" broken by recent merging 2011-02-10 18:26:44 -05:00
Charles Duffy
b62ad056f1 repmgrd: log restored connection only after a break 2011-02-10 17:57:13 -05:00
Greg Smith
ec30caef0f Merge commit '78b925ea54bb7a131e97c2f5d0a63f54ca58e26f' 2011-02-10 17:52:50 -05:00
Greg Smith
78b925ea54 Unify use of error codes across all exit statements 2011-02-10 17:49:34 -05:00
Charles Duffy
7e7c45c61d exit with status 2 if manual work is needed during standby_clone 2011-02-10 17:08:43 -05:00
Charles Duffy
a02cd43115 repmgr: treat directory access errors during standby clone as failure 2011-02-10 17:03:00 -05:00
Charles Duffy
a67688f198 minor format string and comment fixes (add missing newlines, fix english usage, format string argument order) 2011-02-10 17:01:59 -05:00
Charles Duffy
f74b806e4f repmgr: exit with nonzero status on obvious errors 2011-02-10 17:00:33 -05:00
Charles Duffy
657aa3013b avoid double free on repmgrd exit as master 2011-02-10 16:40:00 -05:00
Greg Smith
8d2aff558d Update history with recent merges 2011-02-10 16:19:35 -05:00
Gabriele Bartolini
6e1306cfb2 Uses a switch to detect the log level 2011-02-10 16:09:46 -05:00
Gabriele Bartolini
308efba95e added explanations about logging 2011-02-10 16:09:46 -05:00
Gabriele Bartolini
556f256bb6 Now standby clone command accepts configuration file - for logging purposes only 2011-02-10 16:08:07 -05:00
Gabriele Bartolini
83eee2ed96 added some messages to the clone command 2011-02-10 16:08:07 -05:00
Gabriele Bartolini
cb36aaddff - Added \n 2011-02-10 16:08:07 -05:00
Gabriele Bartolini
3146d2c676 fixed some bugs with standby clone 2011-02-10 16:08:07 -05:00
Gabriele Bartolini
3f1c6a5852 Removed any sprintf/strcpy call and use snprintf/strncpy - Fixed bug with tblspc_dir - added debug messages after every query 2011-02-10 16:08:07 -05:00
Gabriele Bartolini
716a0ae9d3 removed any malloc operation, added t_runtime_options struct 2011-02-10 16:05:03 -05:00
Gabriele Bartolini
7a3be3a2f9 Cleaned log messages (\n at the end of every line) 2011-02-10 15:58:55 -05:00
Gabriele Bartolini
f6a6632169 Added new log system to both repmgr and repmgrd. Needs cleaning, but it is a good starting point 2011-02-10 15:58:55 -05:00
Gabriele Bartolini
2c1eafd7a9 first alpha version for syslog support 2011-02-10 15:56:10 -05:00
Greg Smith
1787cf1c21 Update credits and history to reflect recent merges 2011-02-10 15:19:00 -05:00
Greg Smith
287e2c1a67 Tweak .gitignore to ignore more doc build artifacts 2011-02-10 15:09:18 -05:00
trbs
b487772b84 added note about postgresql-server-dev-9.0 and use libxslt-dev instead of version specific package name 2011-02-10 15:06:09 -05:00
trbs
52313a2d6e made rsync_options configurable 2011-02-10 15:06:09 -05:00
trbs
814863edf2 use struct for config file information 2011-02-10 15:06:09 -05:00
trbs
e4f431c355 fix line 2011-02-10 15:06:09 -05:00
trbs
c3816d8586 added readme.html to gitignore 2011-02-10 15:05:07 -05:00
trbs
4ea0fc4214 Updated README with Debian/Ubuntu install information 2011-02-10 15:05:07 -05:00
trbs
03ed0e692a fix strformat order reversal in error message 2011-02-10 15:00:44 -05:00
Daniel Farina
ce21291418 Issue a message when a configuration file is passed unnecessarily
Simply intends to set expectations around the fact that a config file
is not used *and* doesn't affect anything material about the standby
clone command.

This uses a notion of "logging level" (like NOTICE) that is not yet
seen this program, but I'll probably introduce that soon.

Signed-off-by: Daniel Farina <daniel@heroku.com>
2011-02-10 03:19:36 -08:00