Greg Sabino Mullane [Tue, 17 May 2011 21:30:11 +0000 (17:30 -0400)]
Re-establish the truncation system for non fullcopy syncs.
Redo the mongo: use remove/insert, not update, plus other tweaks.
For flatfiles, only use the schema name if the type is flatpg
Greg Sabino Mullane [Mon, 16 May 2011 03:13:47 +0000 (23:13 -0400)]
Rename targetdb to more accurate and generic target.
Add some purging to the new truncate trigger.
Greg Sabino Mullane [Sun, 15 May 2011 02:20:13 +0000 (22:20 -0400)]
Another backslash instance
Greg Sabino Mullane [Sun, 15 May 2011 02:13:36 +0000 (22:13 -0400)]
Fix severe backslash bug, per email from Gabriel Weinberg <yegg@alum.mit.edu>
Greg Sabino Mullane [Sun, 15 May 2011 02:13:30 +0000 (22:13 -0400)]
Minor cleanups
Greg Sabino Mullane [Fri, 13 May 2011 04:09:46 +0000 (00:09 -0400)]
Tried 2PC, does not really fit, used an alternate "stage" file system instead.
Greg Sabino Mullane [Fri, 13 May 2011 04:09:33 +0000 (00:09 -0400)]
Quick todo cleanup
Greg Sabino Mullane [Fri, 13 May 2011 03:47:19 +0000 (23:47 -0400)]
Bucardo 5 has arrived. Rough, but workable.
Greg Sabino Mullane [Fri, 15 Apr 2011 02:49:04 +0000 (22:49 -0400)]
Ready for 4.4.3 release
Greg Sabino Mullane [Fri, 15 Apr 2011 02:47:31 +0000 (22:47 -0400)]
Spaces, not tabs!
Greg Sabino Mullane [Thu, 14 Apr 2011 18:21:43 +0000 (14:21 -0400)]
Move the 9.0 SQL checks around a bit.
Greg Sabino Mullane [Thu, 14 Apr 2011 18:19:48 +0000 (14:19 -0400)]
Don't check pg_listener when deactivating syncs if backend is 9 or better.
Greg Sabino Mullane [Thu, 14 Apr 2011 18:10:55 +0000 (14:10 -0400)]
Note 4.4.3 patch.
Bump to version 4.4.3 everywhere.
Greg Sabino Mullane [Thu, 14 Apr 2011 18:07:30 +0000 (14:07 -0400)]
Make sure we commit to target before master, to fix rare race condition.
Bump version to 4.4.3
Greg Sabino Mullane [Thu, 17 Mar 2011 00:45:21 +0000 (20:45 -0400)]
Ready for 4.4.2 release
Greg Sabino Mullane [Wed, 16 Mar 2011 13:31:23 +0000 (09:31 -0400)]
Don't test glog calls yet.
Greg Sabino Mullane [Tue, 15 Mar 2011 23:22:22 +0000 (19:22 -0400)]
Get everything back to a consistent 4.4.2 and prepare for a release.
Bucardo 5 will be its own branch, more than likely.
Greg Sabino Mullane [Tue, 9 Nov 2010 14:57:02 +0000 (09:57 -0500)]
Time zone adjustment should be local to the function.
Greg Sabino Mullane [Thu, 9 Sep 2010 20:00:56 +0000 (16:00 -0400)]
Minor comment tweaks.
Greg Sabino Mullane [Thu, 9 Sep 2010 19:55:14 +0000 (15:55 -0400)]
Only show msec to three places in log
Greg Sabino Mullane [Thu, 9 Sep 2010 19:54:23 +0000 (15:54 -0400)]
Load async constants for DBD::Pg
Greg Sabino Mullane [Thu, 9 Sep 2010 19:52:58 +0000 (15:52 -0400)]
Flush out subroutine comment headers
Greg Sabino Mullane [Thu, 9 Sep 2010 19:51:12 +0000 (15:51 -0400)]
Report DBI and DBD::Pg versions in log on startup
Greg Sabino Mullane [Tue, 7 Sep 2010 17:41:42 +0000 (13:41 -0400)]
Latest Changes
Greg Sabino Mullane [Tue, 7 Sep 2010 17:41:06 +0000 (13:41 -0400)]
Allow 'bucardo_ctl status' to run even if piddir is not available.
Greg Sabino Mullane [Sun, 5 Sep 2010 19:28:55 +0000 (15:28 -0400)]
Remove perlcritic pragmas - no longer needed.
Greg Sabino Mullane [Thu, 2 Sep 2010 23:47:19 +0000 (19:47 -0400)]
Update Changes file
Greg Sabino Mullane [Thu, 2 Sep 2010 23:42:42 +0000 (19:42 -0400)]
Add 'default_standard_conflict' setting, per idea from Franz Dürr.
Greg Sabino Mullane [Thu, 2 Sep 2010 20:35:42 +0000 (16:35 -0400)]
Update the Changes file.
Greg Sabino Mullane [Thu, 2 Sep 2010 16:09:51 +0000 (12:09 -0400)]
Fix for timestamptz testing.
Greg Sabino Mullane [Thu, 2 Sep 2010 16:09:31 +0000 (12:09 -0400)]
Force GMT timezone for better timestamptz comparisons.
Greg Sabino Mullane [Thu, 2 Sep 2010 15:24:41 +0000 (11:24 -0400)]
Support new table types.
Greg Sabino Mullane [Thu, 2 Sep 2010 15:24:15 +0000 (11:24 -0400)]
Add timestamptz tabletype to tests.
Greg Sabino Mullane [Thu, 2 Sep 2010 14:11:59 +0000 (10:11 -0400)]
Patch file for common question regarding 4.4.0
Greg Sabino Mullane [Thu, 2 Sep 2010 04:36:46 +0000 (00:36 -0400)]
More sequence testing
Greg Sabino Mullane [Wed, 1 Sep 2010 20:43:46 +0000 (16:43 -0400)]
Small test tweak.
Greg Sabino Mullane [Wed, 1 Sep 2010 20:21:20 +0000 (16:21 -0400)]
Use microsecond timing and linefrom in logs for testing.
Greg Sabino Mullane [Wed, 1 Sep 2010 20:21:04 +0000 (16:21 -0400)]
Remove debugging lines.
Greg Sabino Mullane [Wed, 1 Sep 2010 14:18:17 +0000 (10:18 -0400)]
Add log_microsecond option, fix log_showline bug.
Greg Sabino Mullane [Wed, 1 Sep 2010 14:06:40 +0000 (10:06 -0400)]
Enable more sequence tests.
Greg Sabino Mullane [Wed, 1 Sep 2010 14:06:09 +0000 (10:06 -0400)]
Cleanup and overhaul of sequence replication.
Greg Sabino Mullane [Tue, 31 Aug 2010 18:48:08 +0000 (14:48 -0400)]
Remove unused methods, rejigger the Test::More override items.
Greg Sabino Mullane [Mon, 30 Aug 2010 01:59:48 +0000 (21:59 -0400)]
Checkpoint for new sequence handling work.
Greg Sabino Mullane [Mon, 30 Aug 2010 01:59:20 +0000 (21:59 -0400)]
Minor cleanups.
Greg Sabino Mullane [Sat, 28 Aug 2010 17:30:24 +0000 (13:30 -0400)]
2 is now a common state after an exception, as we always COPY.
Greg Sabino Mullane [Sat, 28 Aug 2010 17:26:42 +0000 (13:26 -0400)]
Pass more information to exception handling code.
Add quote() methods to safe list.
Greg Sabino Mullane [Thu, 26 Aug 2010 08:22:28 +0000 (04:22 -0400)]
Check all glog() calls.
Greg Sabino Mullane [Thu, 26 Aug 2010 08:22:10 +0000 (04:22 -0400)]
Reformatting and code comment enhancements.
Greg Sabino Mullane [Tue, 24 Aug 2010 23:54:11 +0000 (19:54 -0400)]
Make debug an env var
Greg Sabino Mullane [Tue, 24 Aug 2010 23:52:21 +0000 (19:52 -0400)]
Both sides serializable for now.
Greg Sabino Mullane [Tue, 24 Aug 2010 21:28:19 +0000 (17:28 -0400)]
Various P:C fixes
Greg Sabino Mullane [Tue, 24 Aug 2010 21:17:08 +0000 (17:17 -0400)]
Spellchecking run.
Greg Sabino Mullane [Tue, 24 Aug 2010 21:12:17 +0000 (17:12 -0400)]
Update todo list.
Greg Sabino Mullane [Tue, 24 Aug 2010 20:54:36 +0000 (16:54 -0400)]
Standardize the shebang and emacs hint lines.
Greg Sabino Mullane [Tue, 24 Aug 2010 20:53:13 +0000 (16:53 -0400)]
Tabs to spaces.
Greg Sabino Mullane [Tue, 24 Aug 2010 20:52:25 +0000 (16:52 -0400)]
Remove more unused or unnecessary test files.
Greg Sabino Mullane [Tue, 24 Aug 2010 20:49:01 +0000 (16:49 -0400)]
Remove multicol tests: already done inside of other tests with bucardo_test2
Greg Sabino Mullane [Tue, 24 Aug 2010 20:46:59 +0000 (16:46 -0400)]
Minor tweaks to testing file.
Greg Sabino Mullane [Tue, 24 Aug 2010 20:46:50 +0000 (16:46 -0400)]
Change name of test sync.
Greg Sabino Mullane [Tue, 24 Aug 2010 20:43:00 +0000 (16:43 -0400)]
Rename 05-fullcopy.t to 10-fullcopy.t
Greg Sabino Mullane [Tue, 24 Aug 2010 20:41:19 +0000 (16:41 -0400)]
Remove 04-pushdelta.t, superceded by 10-pushdelta.t
Greg Sabino Mullane [Tue, 24 Aug 2010 20:27:19 +0000 (16:27 -0400)]
Remove 03-goat.t test.
Greg Sabino Mullane [Tue, 24 Aug 2010 20:26:45 +0000 (16:26 -0400)]
Remove 02-simple.t: no longer needed.
Greg Sabino Mullane [Tue, 24 Aug 2010 20:25:51 +0000 (16:25 -0400)]
Remove "monkey" tests: already done better implicitly in other tests.
Greg Sabino Mullane [Tue, 24 Aug 2010 20:23:40 +0000 (16:23 -0400)]
Use standard env shebang
Greg Sabino Mullane [Tue, 24 Aug 2010 20:22:44 +0000 (16:22 -0400)]
Check all Perl scripts for validity.
Greg Sabino Mullane [Tue, 24 Aug 2010 20:13:55 +0000 (16:13 -0400)]
Remove typo.
Greg Sabino Mullane [Tue, 24 Aug 2010 19:59:12 +0000 (15:59 -0400)]
git cleanups
Greg Sabino Mullane [Tue, 24 Aug 2010 19:56:03 +0000 (15:56 -0400)]
Test to check all files for tabs and strange characters.
Greg Sabino Mullane [Tue, 24 Aug 2010 19:55:54 +0000 (15:55 -0400)]
Remove old file.
Greg Sabino Mullane [Tue, 24 Aug 2010 19:55:37 +0000 (15:55 -0400)]
Tabs to spaces.
Greg Sabino Mullane [Tue, 24 Aug 2010 19:55:15 +0000 (15:55 -0400)]
Update MANIFEST.
Greg Sabino Mullane [Tue, 24 Aug 2010 19:16:05 +0000 (15:16 -0400)]
Tabs to spaces.
Greg Sabino Mullane [Tue, 24 Aug 2010 19:03:46 +0000 (15:03 -0400)]
Tabs to spaces.
Greg Sabino Mullane [Tue, 24 Aug 2010 18:56:45 +0000 (14:56 -0400)]
New swap sync testing file.
Greg Sabino Mullane [Tue, 24 Aug 2010 17:36:41 +0000 (13:36 -0400)]
Fix error in bind_param for target to source.
Greg Sabino Mullane [Tue, 24 Aug 2010 16:10:34 +0000 (12:10 -0400)]
Recent changes.
Greg Sabino Mullane [Tue, 24 Aug 2010 16:10:02 +0000 (12:10 -0400)]
Remove race condition from bucardo_purge_q_table()
Greg Sabino Mullane [Mon, 23 Aug 2010 21:40:58 +0000 (17:40 -0400)]
Typo.
Greg Sabino Mullane [Mon, 23 Aug 2010 21:04:49 +0000 (17:04 -0400)]
Use timeofday not now() for all q updates.
Greg Sabino Mullane [Mon, 23 Aug 2010 21:00:21 +0000 (17:00 -0400)]
Tweak the q_cleanup index.
Greg Sabino Mullane [Mon, 23 Aug 2010 03:11:57 +0000 (23:11 -0400)]
Fix for bytea primary key checking in swap syncs.
Greg Sabino Mullane [Mon, 23 Aug 2010 00:28:25 +0000 (20:28 -0400)]
Testing fix: reconnect to new database.
Better log_line_prefix
Greg Sabino Mullane [Sun, 22 Aug 2010 18:04:52 +0000 (14:04 -0400)]
Fix typo in testing module.
Greg Sabino Mullane [Sun, 22 Aug 2010 17:29:02 +0000 (13:29 -0400)]
Rename the ENCODE cal for bytea selects.
Greg Sabino Mullane [Sun, 22 Aug 2010 03:17:53 +0000 (23:17 -0400)]
Allows "all sequences" for certain items (e.g. standard_conflict)
Greg Sabino Mullane [Sun, 22 Aug 2010 03:17:43 +0000 (23:17 -0400)]
Back out last change
Greg Sabino Mullane [Sun, 22 Aug 2010 03:09:23 +0000 (23:09 -0400)]
Allow a few things to be updated as "all tables" via bucardo_clt.
Specifically, allows this: bucardo_ctl update all tables standard_conflict=source
Greg Sabino Mullane [Sun, 22 Aug 2010 03:08:59 +0000 (23:08 -0400)]
Remove the check on conflict handling for sequences for now.
Greg Sabino Mullane [Sat, 21 Aug 2010 22:32:42 +0000 (18:32 -0400)]
Testing updates.
Greg Sabino Mullane [Fri, 20 Aug 2010 20:45:07 +0000 (16:45 -0400)]
Make sure we commit to source if our only update was sequences.
Add some debugging.
Greg Sabino Mullane [Thu, 19 Aug 2010 16:45:42 +0000 (12:45 -0400)]
Set schema and table earlier so we give the right message on pushdelta skipping due to truncate.
Greg Sabino Mullane [Thu, 19 Aug 2010 15:55:36 +0000 (11:55 -0400)]
Log full error information to log on kid death.
Greg Sabino Mullane [Wed, 18 Aug 2010 20:06:52 +0000 (16:06 -0400)]
New pushdelta test (work in progress)
Greg Sabino Mullane [Tue, 17 Aug 2010 01:17:12 +0000 (21:17 -0400)]
Call finish() on statement handle.
Greg Sabino Mullane [Mon, 16 Aug 2010 21:04:18 +0000 (17:04 -0400)]
Minor tweaks.
Greg Sabino Mullane [Mon, 16 Aug 2010 20:48:14 +0000 (16:48 -0400)]
Overhaul testing suite, starting with 05-fullcopy.t
Greg Sabino Mullane [Mon, 16 Aug 2010 19:46:27 +0000 (15:46 -0400)]
Allow 'bucardo_ctl update herd foo remove <table(s)>'
and 'bucardo_ctl update herd foo add <table(s)>'
Greg Sabino Mullane [Mon, 16 Aug 2010 18:29:40 +0000 (14:29 -0400)]
Better debug message.
Greg Sabino Mullane [Fri, 6 Aug 2010 19:53:04 +0000 (15:53 -0400)]
Doc fix.