Greg Sabino Mullane [Sun, 20 Jun 2010 20:22:35 +0000 (16:22 -0400)]
Rather than tail the log file to see if a cluster has started, wait until we have a valid connection. Thanks to Andre Felipe Machado for pointing out that the original message was very locale-centric.
Greg Sabino Mullane [Sat, 19 Jun 2010 16:05:33 +0000 (12:05 -0400)]
Better message formatting on kid cleanup.
Greg Sabino Mullane [Sat, 19 Jun 2010 15:27:48 +0000 (11:27 -0400)]
Take advanatage of the fact we require Time::HiRes by using it to
time the sync via tv_interval, and to get a more accurate epoch on startup.
Greg Sabino Mullane [Sat, 19 Jun 2010 15:01:27 +0000 (11:01 -0400)]
Move message to DEBUG, as it is redundant.
Greg Sabino Mullane [Sat, 19 Jun 2010 15:00:12 +0000 (11:00 -0400)]
Make total count verbose, not normal.
Greg Sabino Mullane [Sat, 19 Jun 2010 14:58:52 +0000 (10:58 -0400)]
More log_level adjustments.
Greg Sabino Mullane [Fri, 18 Jun 2010 19:21:02 +0000 (15:21 -0400)]
Update Changes file
Greg Sabino Mullane [Fri, 18 Jun 2010 19:19:51 +0000 (15:19 -0400)]
Force log_levels to the known values.
Greg Sabino Mullane [Fri, 18 Jun 2010 19:15:38 +0000 (15:15 -0400)]
More log_level tweaks.
Refactor the config listing and show it on config_reload.
Allow the log_levels to be case-insensitive.
Greg Sabino Mullane [Fri, 18 Jun 2010 18:31:40 +0000 (14:31 -0400)]
Change log_level of backend PID messages to verbose.
Greg Sabino Mullane [Fri, 18 Jun 2010 18:30:16 +0000 (14:30 -0400)]
Allow use of named log_levels: keep all numbers internal.
Greg Sabino Mullane [Fri, 18 Jun 2010 18:16:45 +0000 (14:16 -0400)]
Change default log_level to a named value
Greg Sabino Mullane [Fri, 18 Jun 2010 18:15:53 +0000 (14:15 -0400)]
One more glog() setting.
Greg Sabino Mullane [Fri, 18 Jun 2010 18:14:33 +0000 (14:14 -0400)]
Make sure all glog calls use a named value.
Greg Sabino Mullane [Fri, 18 Jun 2010 18:10:48 +0000 (14:10 -0400)]
Tell what signal was used.
Greg Sabino Mullane [Fri, 18 Jun 2010 18:08:55 +0000 (14:08 -0400)]
Reassigning of log_levels.
Introduce new log_level, LOG_WARN
Rosser Schwarz [Fri, 18 Jun 2010 17:20:17 +0000 (13:20 -0400)]
Simplify logging to four levels and give them names.
Greg Sabino Mullane [Tue, 15 Jun 2010 16:54:05 +0000 (12:54 -0400)]
Don't allow kicking of inactive syncs.
Greg Sabino Mullane [Tue, 15 Jun 2010 16:50:02 +0000 (12:50 -0400)]
On invalid sync, show a list of all valid syncs.
Remove some of the new NO_PG_LISTENER items: will find a better way.
Greg Sabino Mullane [Tue, 15 Jun 2010 16:39:28 +0000 (12:39 -0400)]
Update Changes file.
Greg Sabino Mullane [Tue, 15 Jun 2010 16:37:15 +0000 (12:37 -0400)]
When doing a bucardo_ctl kick and the sync dies, show why.
Greg Sabino Mullane [Tue, 15 Jun 2010 16:36:06 +0000 (12:36 -0400)]
Fix up bucardo.q entries to always use the controller's PID as ppid.
Better error messages when a kid dies.
Greg Sabino Mullane [Tue, 15 Jun 2010 14:18:58 +0000 (10:18 -0400)]
Typo.
Greg Sabino Mullane [Mon, 14 Jun 2010 15:03:59 +0000 (11:03 -0400)]
Lower log_level of those "Checking column" messages.
Greg Sabino Mullane [Sun, 13 Jun 2010 17:08:05 +0000 (13:08 -0400)]
If in one-time-copy mode, always create a q entry, regardless of synctype.
Greg Sabino Mullane [Sun, 13 Jun 2010 02:44:08 +0000 (22:44 -0400)]
State PID on way out.
Greg Sabino Mullane [Sat, 12 Jun 2010 22:20:46 +0000 (18:20 -0400)]
Minor log output tweaks.
Greg Sabino Mullane [Sat, 12 Jun 2010 22:16:29 +0000 (18:16 -0400)]
Log wording tweak.
Greg Sabino Mullane [Sat, 12 Jun 2010 22:10:48 +0000 (18:10 -0400)]
Refactor display of db time, timezone, and version, have targets show it too.
Greg Sabino Mullane [Sat, 12 Jun 2010 21:19:23 +0000 (17:19 -0400)]
Show Perl's $^O value on startup.
Greg Sabino Mullane [Sat, 12 Jun 2010 21:02:47 +0000 (17:02 -0400)]
Header of log messages already has a space.
Greg Sabino Mullane [Sat, 12 Jun 2010 20:53:27 +0000 (16:53 -0400)]
Better display of Perl version.
Greg Sabino Mullane [Tue, 8 Jun 2010 22:00:06 +0000 (18:00 -0400)]
Missing log_level on a glog
Greg Sabino Mullane [Mon, 7 Jun 2010 17:53:40 +0000 (13:53 -0400)]
Update Changes file.
Greg Sabino Mullane [Mon, 7 Jun 2010 17:50:56 +0000 (13:50 -0400)]
Don't do a timeout kick if in onetimecopy mode.
Greg Sabino Mullane [Sun, 6 Jun 2010 22:19:39 +0000 (18:19 -0400)]
Show delta count only if non-zero for log_level 5
Greg Sabino Mullane [Sun, 6 Jun 2010 22:12:38 +0000 (18:12 -0400)]
Change "timed out" messages to log level 6
Greg Sabino Mullane [Sun, 6 Jun 2010 22:11:14 +0000 (18:11 -0400)]
Show PIDs for kids and controllers in opeining message
Greg Sabino Mullane [Sun, 6 Jun 2010 22:07:41 +0000 (18:07 -0400)]
Tweak log_levels
Greg Sabino Mullane [Sun, 6 Jun 2010 21:58:31 +0000 (17:58 -0400)]
Make sure we support deprecated "config set" and "config show".
Have docs show simple "set" and "show"
Greg Sabino Mullane [Sat, 5 Jun 2010 17:12:03 +0000 (13:12 -0400)]
Report Postgres versions on startup.
Greg Sabino Mullane [Sat, 5 Jun 2010 02:39:05 +0000 (22:39 -0400)]
log_level tweaks
Greg Sabino Mullane [Fri, 4 Jun 2010 20:43:57 +0000 (16:43 -0400)]
Tweak log_levels
Greg Sabino Mullane [Fri, 4 Jun 2010 20:41:09 +0000 (16:41 -0400)]
customselect must be defined and have length
Greg Sabino Mullane [Fri, 4 Jun 2010 18:45:06 +0000 (14:45 -0400)]
q to qq
Greg Sabino Mullane [Fri, 4 Jun 2010 18:18:50 +0000 (14:18 -0400)]
Remove now redundant backend PID check.
Greg Sabino Mullane [Fri, 4 Jun 2010 18:17:40 +0000 (14:17 -0400)]
Bump backend PID display to log_level 6
Greg Sabino Mullane [Fri, 4 Jun 2010 17:26:28 +0000 (13:26 -0400)]
Skip notes.* files.
Greg Sabino Mullane [Fri, 4 Jun 2010 17:10:25 +0000 (13:10 -0400)]
Finish up the log_level work!
Greg Sabino Mullane [Wed, 26 May 2010 14:34:17 +0000 (10:34 -0400)]
Fix comment
Greg Sabino Mullane [Thu, 20 May 2010 22:28:26 +0000 (18:28 -0400)]
More tabs to spaces. LOTS of tabs to spaces.
Greg Sabino Mullane [Thu, 20 May 2010 22:28:04 +0000 (18:28 -0400)]
Let's go to all spaces and end the war.
Greg Sabino Mullane [Thu, 20 May 2010 22:27:21 +0000 (18:27 -0400)]
Switch to "env perl", and move emacs stuff to second line.
Greg Sabino Mullane [Thu, 20 May 2010 21:21:43 +0000 (17:21 -0400)]
Just noticed the github request: give credit where due for previous feature.
Greg Sabino Mullane [Thu, 20 May 2010 21:17:25 +0000 (17:17 -0400)]
Update the Changes file
Greg Sabino Mullane [Thu, 20 May 2010 21:14:03 +0000 (17:14 -0400)]
Show the database when listing sequences via bucardo_ctl.
Thanks to random request on IRC channel #bucardo on irc.freenode.net
Greg Sabino Mullane [Wed, 19 May 2010 01:34:04 +0000 (21:34 -0400)]
Update Changes file.
Rosser Schwarz [Wed, 19 May 2010 01:32:59 +0000 (21:32 -0400)]
Don't bother comparing log_cnt values for sequences.
Joshua Tolley [Sat, 8 May 2010 03:34:10 +0000 (21:34 -0600)]
Fail somewhat less with postgresql 9.0. Some work still required to support the new LISTEN/NOTIFY really nicely
Joshua Tolley [Sat, 8 May 2010 03:33:02 +0000 (21:33 -0600)]
Add function to clear any pending notifications
Joshua Tolley [Thu, 28 Jan 2010 00:11:21 +0000 (17:11 -0700)]
remove debugging code
Greg Sabino Mullane [Tue, 23 Mar 2010 15:07:35 +0000 (11:07 -0400)]
Remove debugging artifact.
Greg Sabino Mullane [Thu, 4 Mar 2010 21:04:10 +0000 (16:04 -0500)]
Bucardo.pm: should be 'or' not 'and'. Caught by Don Drake.
Greg Sabino Mullane [Tue, 2 Mar 2010 22:14:44 +0000 (17:14 -0500)]
Makefile.PL: change DESTDIR to INSTALL_BASE.
This MAY break some things, but it WILL fix an existing problem.
Greg Sabino Mullane [Thu, 18 Feb 2010 19:01:56 +0000 (14:01 -0500)]
bucardo.schema: No need to look at anything but ONLY master_q for populate_child_q function.
Greg Sabino Mullane [Wed, 10 Feb 2010 13:48:19 +0000 (08:48 -0500)]
Make search_path declaration LOCAL
Greg Sabino Mullane [Mon, 8 Feb 2010 21:38:16 +0000 (16:38 -0500)]
On upgrade to bucardo_sequences, populate syncname with the current sync.
Greg Sabino Mullane [Mon, 8 Feb 2010 21:19:31 +0000 (16:19 -0500)]
Quick fix for problem spotted in IRC: 4.5.0 has new syncname column, but no upgrade path from 4.4.0 for it.
Greg Sabino Mullane [Wed, 3 Feb 2010 18:33:30 +0000 (13:33 -0500)]
Testing tweak to work with new bucardo.schema file.
Greg Sabino Mullane [Wed, 3 Feb 2010 18:19:06 +0000 (13:19 -0500)]
Fix up aliaslist to use direect quoted version, not cast to implicit lowercase.
Fixes a bug where column names that are not lowercase may cause a sync to fail.
Greg Sabino Mullane [Wed, 3 Feb 2010 18:01:24 +0000 (13:01 -0500)]
bucardo_ctl: add -vv shortcut as I'm tired of typing --verbose --verbose
Greg Sabino Mullane [Wed, 3 Feb 2010 16:31:57 +0000 (11:31 -0500)]
Be forgiving of "bucardo_ctl add herd foo table=bar"
Greg Sabino Mullane [Wed, 3 Feb 2010 16:00:43 +0000 (11:00 -0500)]
Tweak release date.
Greg Sabino Mullane [Wed, 3 Feb 2010 15:59:43 +0000 (10:59 -0500)]
bucardo_ctl: allow 'bucardo_ctl add all tables --schema=foo' to work again
Greg Sabino Mullane [Tue, 2 Feb 2010 21:22:42 +0000 (16:22 -0500)]
Trying out log levels
Greg Sabino Mullane [Tue, 2 Feb 2010 17:32:03 +0000 (12:32 -0500)]
Add log level. Better error handling for install.
Greg Sabino Mullane [Tue, 2 Feb 2010 17:31:38 +0000 (12:31 -0500)]
bucardo_ctl: remove duplicated command
Greg Sabino Mullane [Tue, 2 Feb 2010 17:06:53 +0000 (12:06 -0500)]
Add bucardo_examples
Greg Sabino Mullane [Tue, 2 Feb 2010 17:05:52 +0000 (12:05 -0500)]
Note bucardo_examples
Greg Sabino Mullane [Tue, 2 Feb 2010 17:00:55 +0000 (12:00 -0500)]
New script: slony_migrator.pl
Greg Sabino Mullane [Tue, 2 Feb 2010 16:58:46 +0000 (11:58 -0500)]
Getting ready for 2.5.0 release
Greg Sabino Mullane [Tue, 2 Feb 2010 16:58:11 +0000 (11:58 -0500)]
New html files
Greg Sabino Mullane [Wed, 13 Jan 2010 15:39:56 +0000 (10:39 -0500)]
Updates to the Changes file.
Greg Sabino Mullane [Wed, 13 Jan 2010 15:39:17 +0000 (10:39 -0500)]
bucardo_ctl: allow removeal of tables via update herd notable=x
Greg Sabino Mullane [Wed, 13 Jan 2010 14:19:30 +0000 (09:19 -0500)]
Remove unused 'kick_sleep' paramater
Greg Sabino Mullane [Tue, 12 Jan 2010 21:26:53 +0000 (16:26 -0500)]
Bucardo.pm: Fix incorrect var in glog code.
Greg Sabino Mullane [Tue, 12 Jan 2010 17:55:21 +0000 (12:55 -0500)]
bucardo_ctl: allow update of herd (just name for now)
Greg Sabino Mullane [Tue, 12 Jan 2010 17:48:21 +0000 (12:48 -0500)]
bucardo.schema: safety check for bucardo auto-creation.
Greg Sabino Mullane [Tue, 12 Jan 2010 17:47:30 +0000 (12:47 -0500)]
Attempt to create the bucardo superuser if not already there.
Greg Sabino Mullane [Tue, 12 Jan 2010 17:47:04 +0000 (12:47 -0500)]
bucardo_ctl: On list herd, show the related database
Greg Sabino Mullane [Tue, 12 Jan 2010 17:18:35 +0000 (12:18 -0500)]
bucardo_ctl: make sure add_all_tables knows the db name when coming from add db
Greg Sabino Mullane [Tue, 12 Jan 2010 15:38:22 +0000 (10:38 -0500)]
Update Changes file
Greg Sabino Mullane [Tue, 12 Jan 2010 15:36:56 +0000 (10:36 -0500)]
bucardo_ctl:
Add --force option to allow dropping databases along with related goats and syncs.
Greg Sabino Mullane [Tue, 12 Jan 2010 15:20:44 +0000 (10:20 -0500)]
bucardo_ctl:
New 'addalltables' and 'addallsequences' options for add db.
Don't commit and exit inside of add_all_goats
If we fail to connect as bucardo, trying as postgres and create the user
Greg Sabino Mullane [Wed, 6 Jan 2010 16:27:43 +0000 (11:27 -0500)]
Bump copyright to 2010.
Greg Sabino Mullane [Wed, 6 Jan 2010 16:27:18 +0000 (11:27 -0500)]
Start experimenting with log levels.
Greg Sabino Mullane [Wed, 6 Jan 2010 16:24:42 +0000 (11:24 -0500)]
bucardo_ctl: slightly better messages on failed install
Greg Sabino Mullane [Mon, 4 Jan 2010 01:13:53 +0000 (20:13 -0500)]
Typo.
Greg Sabino Mullane [Mon, 4 Jan 2010 01:10:03 +0000 (20:10 -0500)]
Remove the last of the sprintf glog style.
Joshua Tolley [Thu, 24 Dec 2009 18:41:15 +0000 (11:41 -0700)]
Improve documentation