slony1-engine.git
7 years agoFix bug in set add sequence(set id=1, sequences='test\\.seq*');
Steve Singer [Wed, 1 Aug 2018 19:13:46 +0000 (15:13 -0400)]
Fix bug in set add sequence(set id=1, sequences='test\\.seq*');

where the regex esacping for sequences was not working like
it did for tables in 'set add table'.

7 years ago1. Add an option to slonik to disable the version check
Steve Singer [Mon, 21 May 2018 14:13:21 +0000 (10:13 -0400)]
1. Add an option to slonik to disable the version check
   against the slony schema

2. Add an option to make the remote listener use a
   READ COMMITTED instead of a serialized deferrable
   transaction

3. If slonik was not compiled with pgport then allow
   PG_HOME to override/set the location of the share directory
   containing the slony .sql files

Patches from Tom Tignor<ttignor@akamai.com>.

7 years agofix awk expression so flex 2.6.x or higher is supported
Steve Singer [Mon, 11 Jun 2018 22:29:24 +0000 (18:29 -0400)]
fix awk expression so flex 2.6.x or higher  is supported

7 years agoalter slony1_funcs so they can compile on PG11
Steve Singer [Thu, 7 Jun 2018 00:47:00 +0000 (20:47 -0400)]
alter slony1_funcs so they can compile on PG11

7 years agofix version check so it doesn't warn about
Steve Singer [Sat, 24 Mar 2018 02:34:55 +0000 (22:34 -0400)]
fix version check so it doesn't warn about
unsupported PG versions for PG < 11

Thanks Jehan-Guillaume de Rorthais

7 years agoFix the version string for PG10
Steve Singer [Sun, 27 Aug 2017 15:10:56 +0000 (11:10 -0400)]
Fix the version string for PG10

7 years agopostgesql 10
Steve Singer [Sat, 29 Jul 2017 01:56:40 +0000 (21:56 -0400)]
postgesql 10

7 years agoMerge pull request #10 from markstos/remove-summersault
Steve Singer [Thu, 22 Feb 2018 23:08:17 +0000 (18:08 -0500)]
Merge pull request #10 from markstos/remove-summersault

remove typo'ed, expired copyright.

7 years agoremove typo'ed, expired copyright.
Mark Stosberg [Wed, 31 Jan 2018 19:20:21 +0000 (14:20 -0500)]
remove typo'ed, expired copyright.

I wrote these utilities back in 2006-2008.

There was a typo in the company name, which should have been "Summersault, LLC".

However, that company no longer exists: http://www.summersault.com

To simplify any future copyright concerns for the project, I'm just
removing the copyright statement rather than fix the typo.

8 years agoAdd support for PG10
Steve Singer [Mon, 10 Jul 2017 02:00:12 +0000 (22:00 -0400)]
Add support for PG10

PostgreSQL 10 does away with the old convention of $MAJOR.$MINOR.$PATCH

The existing version detection parsing code does not deal with the new
convention. Update the configure check, the slonik check and the slon check
to work with the new convention and continue to work with the old one.

8 years agofailover unit test improvements
Steve Singer [Tue, 25 Apr 2017 12:16:19 +0000 (08:16 -0400)]
failover unit test improvements

8 years agoFix segfault introduced by the previous failover
Steve Singer [Tue, 25 Apr 2017 12:14:50 +0000 (08:14 -0400)]
Fix segfault introduced by the previous failover
fixes

8 years agoFurther changes related to 'Explicitly disallow createEvent and data changes in the...
Steve Singer [Sat, 15 Apr 2017 00:28:58 +0000 (20:28 -0400)]
Further changes related to 'Explicitly disallow createEvent and data changes in the same transaction'

Add in support where the logApply trigger inserst data into a table that has  trigger
,which runs on the replica,that then inserts data into another replicated table.

The logApply trigger might have already been called in this transaction but the
logTrigger is then called in the same transaction.  We then need to setup
the plans for inserting data into sl_log_1 or sl_log_2

8 years agoAdd unit test for multi-node failover (cascaded) issues
Steve Singer [Mon, 10 Apr 2017 13:40:41 +0000 (09:40 -0400)]
Add unit test for multi-node failover (cascaded) issues

8 years agoFix issues with FAILOVER
Steve Singer [Mon, 10 Apr 2017 13:38:15 +0000 (09:38 -0400)]
Fix issues with FAILOVER
In particular it is possible when doing a multi-node failover
with a cascaded node for the result after the failover to
have nodes with a self subscription, a row in sl_subscribe
with the provider and receiver equal.

In fixing that issue we also discovered that slon was not
reloading the set origin's into memory following a FAILOVER
command.  This could mean that we were processing SYNC events
from a node which without realizing that node now is the origin
for a set.

8 years agoExplicitly disallow createEvent and data changes in the same transaction.
Steve Singer [Sun, 26 Mar 2017 16:54:46 +0000 (12:54 -0400)]
Explicitly disallow createEvent and data changes in the same transaction.

The same transaction should not have both a row in sl_event and log data
to sl_log_1 or sl_log_2 with the logTrigger.  This is not something slonik
would ever do, and the data changes that the logTrigger logs might not get
replicated as part of the event processing(ie for many non SYNC events).
it is also unclear what order the data should be applied in with respect to
the actions of the non-SYNC event.

8 years agoadd release notes for slonik_build_env now supporting
Steve Singer [Sat, 10 Dec 2016 15:53:40 +0000 (10:53 -0500)]
add release notes for slonik_build_env  now supporting
multiple -schema options.
Thanks Marc Cousin <marc.cousin@dalibo.com>

8 years agoSupport multi-schema in slonik_build_env
Marc Cousin [Mon, 5 Dec 2016 13:37:02 +0000 (14:37 +0100)]
Support multi-schema in slonik_build_env

9 years agoBug 341 - suppress log trigger/deny when running in 'local' mode
Christopher Browne [Tue, 26 Jul 2016 20:05:51 +0000 (16:05 -0400)]
Bug 341 - suppress log trigger/deny when running in 'local' mode

9 years agoAdding a 4-node pgbench based tutorial to the docs.
Jan Wieck [Sun, 17 Jul 2016 05:24:47 +0000 (01:24 -0400)]
Adding a 4-node pgbench based tutorial to the docs.

9 years agoadd supported compatibility for PG 9.5
Steve Singer [Sat, 28 May 2016 21:41:42 +0000 (17:41 -0400)]
add supported compatibility for PG 9.5

9 years agoFix GETCONFIGOPTIONBYNAME checking for PG9.6+
Steve Singer [Sat, 28 May 2016 16:32:57 +0000 (12:32 -0400)]
Fix GETCONFIGOPTIONBYNAME checking for PG9.6+

Also add the define to config.h.in so it actually gets set

9 years agoAdd win32/msvc support for 3 argument GetConfigOptionByName
Steve Singer [Mon, 23 May 2016 20:59:11 +0000 (16:59 -0400)]
Add win32/msvc support for 3 argument GetConfigOptionByName

9 years agoFix compile errors against PG 9.6+
Steve Singer [Sat, 21 May 2016 22:33:50 +0000 (18:33 -0400)]
Fix compile errors against PG 9.6+
The file parser/keywords.h moved to common/keywords.h
but is not actually needed

9 years agoBug #363 - missing WAIT ON in sample script in docs
Christopher Browne [Mon, 30 Nov 2015 16:35:08 +0000 (11:35 -0500)]
Bug #363 - missing WAIT ON in sample script in docs

9 years agoMerge branch 'master' of ssh://git.postgresql.org/slony1-engine
Christopher Browne [Mon, 30 Nov 2015 16:32:47 +0000 (11:32 -0500)]
Merge branch 'master' of ssh://git.postgresql.org/slony1-engine

9 years agoDoc sample command change:
Steve Singer [Mon, 9 Nov 2015 21:10:34 +0000 (16:10 -0500)]
Doc sample command change:

exclude the slony schema from the pg_dump for adding a new node

9 years agoMerge branch 'master' of ssh://git.postgresql.org/slony1-engine
Christopher Browne [Fri, 6 Nov 2015 22:45:53 +0000 (17:45 -0500)]
Merge branch 'master' of ssh://git.postgresql.org/slony1-engine

10 years agoAdd win32 makefile/config support for PG 9.5
Steve Singer [Mon, 31 Aug 2015 22:44:11 +0000 (18:44 -0400)]
Add win32 makefile/config support for PG 9.5

Patch by sandeep.thakkar@enterprisedb.com

10 years agoPostgreSQL HEAD has added a 3-parameter version of GetConfigOptionByName().
Christopher Browne [Mon, 13 Jul 2015 19:16:07 +0000 (15:16 -0400)]
PostgreSQL HEAD has added a 3-parameter version of GetConfigOptionByName().
Have autoconf detect this, and pass 3 parms if needful.

10 years agoMerge branch 'master' of ssh://git.postgresql.org/slony1-engine
Christopher Browne [Mon, 13 Apr 2015 19:21:10 +0000 (15:21 -0400)]
Merge branch 'master' of ssh://git.postgresql.org/slony1-engine

10 years agoAdd to DDL docs
Christopher Browne [Mon, 13 Apr 2015 19:19:22 +0000 (15:19 -0400)]
Add to DDL docs

10 years agofix merge error
Steve Singer [Fri, 13 Feb 2015 19:42:09 +0000 (14:42 -0500)]
fix merge error

10 years agowin32 uses strtok_s not strtok_r
Steve Singer [Mon, 19 Jan 2015 01:28:48 +0000 (20:28 -0500)]
win32 uses strtok_s not strtok_r

10 years agoFix the patch for bug352 so it compiles against PG 8.3
Steve Singer [Sun, 18 Jan 2015 18:22:28 +0000 (13:22 -0500)]
Fix the patch for bug352 so it compiles against PG 8.3

10 years agoremove unsupported for PG 9.4 since it has ben released
Steve Singer [Thu, 15 Jan 2015 22:56:05 +0000 (17:56 -0500)]
remove unsupported for PG 9.4 since it has ben released

10 years agoBug 354
Steve Singer [Mon, 27 Oct 2014 21:01:29 +0000 (17:01 -0400)]
Bug 354

The RebuildListenEntries for a failed node
that provides no subscriptions deletes all listen
entries from that node.  The remaining nodes
might still need to listen for these events
if the failover target has them.  Otherwise
the FAILOVER_NODE event will wait for this event
but it will never come.

Leave in the listen paths for failed nodes
that don't provide any sets

10 years agoBug 356
Steve Singer [Thu, 18 Dec 2014 20:38:08 +0000 (15:38 -0500)]
Bug 356

Apply truncate on replica's as TRUNCATE ONLY.

If the original truncate was a TRUNCATE ONLY then
we also want to just truncate the parent table.
If the original command was an un-restricted truncate
then the truncate trigger will be invoked for each child
table anyway.

10 years agoadd disorder test for cleanup interval(bug 350)
Steve Singer [Thu, 15 Jan 2015 20:30:21 +0000 (15:30 -0500)]
add disorder test for cleanup interval(bug 350)

10 years agoBug 350
Rose Nancy [Thu, 15 Jan 2015 20:29:25 +0000 (15:29 -0500)]
Bug 350

Make the cleanup_interval argument in the parameter file actually do
what one thinks it does, that is set how many seconds between cleanupEvent
runs.

10 years agoMerge branch 'master' of ssh://git.postgresql.org/slony1-engine
Christopher Browne [Wed, 17 Dec 2014 22:04:44 +0000 (17:04 -0500)]
Merge branch 'master' of ssh://git.postgresql.org/slony1-engine

10 years agoBug #349 - case insensitivity with cluster name when processing DDL
Christopher Browne [Tue, 16 Dec 2014 20:30:40 +0000 (15:30 -0500)]
Bug #349 - case insensitivity with cluster name when processing DDL

Cluster name wasn't properly quoted when processing sequence update, this logic only runs when doing DDL.

Added config change to regression tests to have StudlyCase names to ensure this is noticed in future

Conflicts:
RELEASE

10 years agoMerge branch 'master' of ssh://git.postgresql.org/slony1-engine
Christopher Browne [Tue, 16 Dec 2014 17:45:16 +0000 (12:45 -0500)]
Merge branch 'master' of ssh://git.postgresql.org/slony1-engine

Conflicts:
RELEASE

10 years agoBug #352 - PostgreSQL "head" issues
Christopher Browne [Mon, 15 Dec 2014 23:21:30 +0000 (18:21 -0500)]
Bug #352 - PostgreSQL "head" issues

- INT64_FORMAT refactered out of pg_config.h

- set_config_options() has added another parameter

10 years agoEmpty out RELEASE notes on master to collect afresh for next version
Christopher Browne [Mon, 15 Dec 2014 23:19:34 +0000 (18:19 -0500)]
Empty out RELEASE notes on master to collect afresh for next version

10 years agoMerge branch 'master' of ssh://git.postgresql.org/slony1-engine
Christopher Browne [Fri, 12 Dec 2014 23:42:29 +0000 (18:42 -0500)]
Merge branch 'master' of ssh://git.postgresql.org/slony1-engine

10 years agoFix comment and log message so it no longer
Steve Singer [Tue, 9 Dec 2014 02:48:06 +0000 (21:48 -0500)]
Fix comment and log message so it no longer
refers to helper threads(which were removed in 2.2)

10 years agoFix comment to reflect the actual default value
Steve Singer [Tue, 9 Dec 2014 02:41:18 +0000 (21:41 -0500)]
Fix comment to reflect the actual default value

Patch by Kazuki Uehara <uehara.kazuki@lab.ntt.co.jp>

11 years agoBug 345
Steve Singer [Fri, 25 Jul 2014 15:35:59 +0000 (11:35 -0400)]
Bug 345

The strtok_r on the node list was adding replacing the comma
with a NULL causing only 1 node to get inserted into sl_event.
This mean any nodes that where cascaded only saw 1 of the nodes
in the drop node list.

Call strtok_r on a copy of the list so it can safely be munged.

Also add in a DropNode cluster test to demonstrate test this issue

11 years agoInclude alloca.h
Steve Singer [Thu, 21 Aug 2014 12:01:03 +0000 (08:01 -0400)]
Include alloca.h

Fix build problems on Solaris/SPARC in slonik due to an
undefined alloca symbol.

Report and fix from Venkata Balaji N

11 years agoRemove warning message for possible unsupported version up to 9.4.
Jan Wieck [Tue, 12 Aug 2014 17:30:04 +0000 (13:30 -0400)]
Remove warning message for possible unsupported version up to 9.4.

11 years agoReset RELEASE notes to be empty, as new development begins on a new branch
Christopher Browne [Thu, 17 Jul 2014 20:26:20 +0000 (16:26 -0400)]
Reset RELEASE notes to be empty, as new development begins on a new branch

11 years agoContinue setting options even if a non-existing one
Jan Wieck [Mon, 30 Jun 2014 14:34:29 +0000 (10:34 -0400)]
Continue setting options even if a non-existing one
was encountered. Fixes bug 343.

11 years agofixing generate load origin node parameter mismatch
Steve Singer [Tue, 13 May 2014 13:49:37 +0000 (09:49 -0400)]
fixing generate load origin node parameter mismatch

11 years agoBug 342 - Fix various failover issues
Steve Singer [Mon, 12 May 2014 01:37:45 +0000 (21:37 -0400)]
Bug 342 - Fix various failover issues

This commit fixes some related failover issues
1.  The query slonik used to get a node list during failover
    was ignoring non-failover targets. This meant that we
    would never call preFailover on a node that wasn't a failover
    target.  This node might then still be trying to use
    a failed provider.
2.  A node (say node 3) might process a FAILOVER_NODE
    event from node 2 (the new-origin) but might not
    have yet processed the last event from node 1, the
    failed node.  We need to make sure that the
    subscription paths and listen networks are updated
    so we don't only listen for events and data from
    failed nodes.

11 years agoRemove HAVE_POSIX_SIGNALS from config.h
Steve Singer [Mon, 30 Jun 2014 12:37:54 +0000 (08:37 -0400)]
Remove HAVE_POSIX_SIGNALS from config.h

Compiling slony against PG 9.4 gives compiler warnings because the
definition of HAVE_POSIX_SIGNALS has changed.  This is defined in pg_config
so we do not really need to redefine it in the config.h slony provides.

We leave the configure check in place to we just don't include it in
the header

11 years agoadd another multi-node failover configuration to the test
Steve Singer [Fri, 2 May 2014 18:27:33 +0000 (14:27 -0400)]
add another multi-node failover configuration to the test

11 years agoFix typo in preamble for regression tests
David Christensen [Fri, 25 Apr 2014 18:36:32 +0000 (13:36 -0500)]
Fix typo in preamble for regression tests

11 years agoChanging version number of master to 2.3.0
Jan Wieck [Sat, 26 Apr 2014 02:41:25 +0000 (22:41 -0400)]
Changing version number of master to 2.3.0

11 years agoDocument the EXECUTE ONLY ON list of nodes syntax
Steve Singer [Thu, 17 Apr 2014 13:54:14 +0000 (09:54 -0400)]
Document the EXECUTE ONLY ON list of nodes syntax

Also add a regression test to test this

11 years agoBug 338 - Have ddlScript return a bigint since the action_seq is a bigint
Steve Singer [Tue, 8 Apr 2014 01:52:19 +0000 (21:52 -0400)]
Bug 338 - Have ddlScript return a bigint since the action_seq is a bigint

11 years agofixing Deadlock with application during minor version slony upgrade
Rose Nancy [Tue, 11 Mar 2014 14:37:00 +0000 (10:37 -0400)]
fixing  Deadlock with application during minor version slony upgrade

11 years agofixing Deadlock with application during minor version slony upgrade
Rose Nancy [Tue, 11 Mar 2014 14:10:36 +0000 (10:10 -0400)]
fixing  Deadlock with application during minor version slony upgrade

11 years agoMerge branch 'master' of ssh://git.postgresql.org/slony1-engine
Christopher Browne [Wed, 5 Mar 2014 21:48:05 +0000 (16:48 -0500)]
Merge branch 'master' of ssh://git.postgresql.org/slony1-engine

11 years agologApply trigger free()s data from wrong cache entry on evict.
Jan Wieck [Wed, 29 Jan 2014 17:11:57 +0000 (12:11 -0500)]
logApply trigger free()s data from wrong cache entry on evict.

11 years agoFixing typo in docs
Steve Singer [Wed, 5 Feb 2014 23:33:49 +0000 (18:33 -0500)]
Fixing typo in docs

Thanks Jeff Frost

11 years agoClarify namespace setup in documentation
Rose Nancy [Wed, 29 Jan 2014 17:21:34 +0000 (12:21 -0500)]
Clarify namespace setup in documentation

11 years agoBug 326 Run perl tidy on the altperl tools
Steve Singer [Wed, 25 Dec 2013 21:04:06 +0000 (16:04 -0500)]
Bug 326 Run perl tidy on the altperl tools

Formatting changes (perltidy) on the altperl tools

Patch by David Fetter

11 years agoBug 325 Make perltool pass level 5 of perlcrit
Steve Singer [Wed, 25 Dec 2013 20:58:46 +0000 (15:58 -0500)]
Bug 325 Make perltool pass level 5 of perlcrit

Patch from David Fetter

11 years agoFix SGML tagging of man page volnum - bug #328
Christopher Browne [Thu, 2 Jan 2014 21:15:29 +0000 (16:15 -0500)]
Fix SGML tagging of man page volnum - bug #328

11 years agoUse server includes for pgport when building slonik
Steve Singer [Thu, 12 Dec 2013 14:26:04 +0000 (09:26 -0500)]
Use server includes for pgport when building slonik

When building with --with-pgport slonik needs to include port.h
port.h is normally found under the server include directory but
some distributions (ie debian libpq-dev) also include it in
/usr/include/postgresql

The fix for bug 315 removed the server include paths from
all client programs including slonik.  This went too far,
the actual issue with bug 315 was src/backend failing because
it pulled in the client headers.

If we are building with pgport we will pull in the server
include directories for slonik

11 years agoMerge branch 'master' of ssh://git.postgresql.org/slony1-engine
Christopher Browne [Mon, 18 Nov 2013 17:02:34 +0000 (12:02 -0500)]
Merge branch 'master' of ssh://git.postgresql.org/slony1-engine

11 years agoDisable the "known failing" disorder tests.
Jan Wieck [Wed, 30 Oct 2013 16:12:11 +0000 (12:12 -0400)]
Disable the "known failing" disorder tests.

11 years agoFolding slon.stop() and coordinator.join(slon) into one loop.
Jan Wieck [Tue, 29 Oct 2013 22:48:25 +0000 (18:48 -0400)]
Folding slon.stop() and coordinator.join(slon) into one loop.

Stopping the slons and joining their processes in separate
loops apparently can cause the regression test to hang under
some rare race conditions.

11 years agobug 321 - fix to the previous patch for when we have multiple real providers
Steve Singer [Thu, 31 Oct 2013 13:05:20 +0000 (09:05 -0400)]
bug 321 - fix to the previous patch for when we have multiple real providers

If the provider list contains multiple providers that actually provide
a set (set_head != NULL) then we want to use those providers and
not skip them

11 years agobug 321 - Stop reconnecting to providers
Steve Singer [Wed, 30 Oct 2013 19:51:23 +0000 (15:51 -0400)]
bug 321 - Stop reconnecting to providers

Event origins that are not set origins will have
multiple  li_origin/li_receiver pairs in sl_listen
we listen for events from these origins from multiple
sources.   This means a node such as node 2 might
receive an event from ev_origin=1 via event provider 1
then receive the next event with ev_origin=1 from
event provider 2.  Slon keeps connecting and
disconnecting from these providers.

Instead keep of dropping the connections to
event providers we keep them around unless
a reconfiguration has taken place.  This lets
us use the connection for the event_provider
we received the event from.

11 years agoadd a regression test for EXECUTE SCRIPT using a non-provider event node
Steve Singer [Mon, 28 Oct 2013 18:11:10 +0000 (14:11 -0400)]
add a regression test for EXECUTE SCRIPT using a non-provider event node

11 years agoDisable the "not expect lag" check from disorder ExecuteScript.
Jan Wieck [Fri, 25 Oct 2013 04:39:53 +0000 (00:39 -0400)]
Disable the "not expect lag" check from disorder ExecuteScript.
"Apparent" lag of 10 seconds can happen, the way confirm
messages propagate back to the origin.

11 years agoFrom fccfb06687588c6155f0f77665be358837dd47e1 Mon Sep 17 00:00:00 2001
Jan Wieck [Fri, 25 Oct 2013 04:34:11 +0000 (00:34 -0400)]
From fccfb06687588c6155f0f77665be358837dd47e1 Mon Sep 17 00:00:00 2001
From: Steve Singer <ssinger@ca.afilias.info>
Date: Thu, 24 Oct 2013 21:29:32 -0400
Subject: [PATCH] fixing the failover unit test.

It is sometimes possible for node 4 to get unsubscribed from
set 1 because it doesn't have a subscription to set 2 but
might be the farthest ahead node (but it isn't a failover candidate)

Resubscribed node 4 before continuing on with the next test

11 years agoAdditional changes for bug322.
Steve Singer [Tue, 29 Oct 2013 20:22:37 +0000 (16:22 -0400)]
Additional changes for bug322.

cloneNodePrepare() and many other places need to grab
the central config lock. They heavily rely on checking
things via "not found", which inherently has a race
condition.

Conflicts:
src/slon/remote_worker.c
note: removed src/slon/remote_worker.c changes from
the cherry-picked patch they aren't actually part of 322

11 years agobug 322 allow CLONE PREPARE processing to deal with an earlier STORE PATH
Steve Singer [Thu, 17 Oct 2013 21:21:36 +0000 (17:21 -0400)]
bug 322 allow CLONE PREPARE processing to deal with an earlier STORE PATH

If a node sees a STORE PATH  event before it sees the CLONE PREPARE
that creates a node involved in that path then the CLONE PREPARE
event was failing because the node was already in sl_node.

Check for the existance for rows and update them instead

Conflicts:
src/slon/remote_worker.c

11 years agoFix for bug 319, dereferencing of NULL pointers.
Jan Wieck [Mon, 14 Oct 2013 18:23:11 +0000 (14:23 -0400)]
Fix for bug 319, dereferencing of NULL pointers.

The "provider" pointer at that point in the code is
always NULL due to the for() loop above. The query can
only fail if the connection to the backend is lost in
that very moment.

11 years agoadding in tests for bug 318
Steve Singer [Wed, 16 Oct 2013 13:10:01 +0000 (09:10 -0400)]
adding in tests for bug 318

11 years agoFix for endless restart loop on FAILOVER (bug 318).
Jan Wieck [Mon, 14 Oct 2013 18:10:45 +0000 (14:10 -0400)]
Fix for endless restart loop on FAILOVER (bug 318).

If the backup node is not the most advanced, function
failedNode() will trigger a slon restart even if it
did not make any changes to the configuration because
of a missing WHERE clause.

11 years agoThe UPDATE FUNCTIONS upgrade from a 2.1.x (or 2.0.x) Slony to 2.2.0 does not
Jan Wieck [Wed, 16 Oct 2013 03:05:56 +0000 (23:05 -0400)]
The UPDATE FUNCTIONS upgrade from a 2.1.x (or 2.0.x) Slony to 2.2.0 does not
create the no_failed column in sl_node.

11 years agoNote that upgrade process implies an application outage
Christopher Browne [Thu, 10 Oct 2013 18:00:33 +0000 (14:00 -0400)]
Note that upgrade process implies an application outage

11 years agoOnly include the libpq header directory OR the server header directory but not both
Steve Singer [Thu, 3 Oct 2013 17:32:08 +0000 (13:32 -0400)]
Only include the libpq header directory OR the server header directory but not both

This addresses bug 315 where a debian install had libpq-dev 9.3 installed
and postgresql-server-dev 8.4 installed.  The libpq headers are in /usr/include/postgresql
but the server headers are in /usr/lib/postgresql/8.4/server.

configure checks were failing because we were pulling in a mixutre of headers
from both versions.  The only slony component that needs the server
headers are the backend functions and they shouldn't need to use libpq headers.

This patch sets CPPFLAGS as approriate for one or the other but not both

11 years agoBug #281 - improve documentation on performance implications of PATHs
Christopher Browne [Thu, 26 Sep 2013 16:49:13 +0000 (12:49 -0400)]
Bug #281 - improve documentation on performance implications of PATHs

Add in material describing the effects of having fully versus less-fully connected path networks

11 years agoMerge branch 'master' of github.com:cbbrowne/slony1-engine
Christopher Browne [Wed, 25 Sep 2013 16:56:48 +0000 (12:56 -0400)]
Merge branch 'master' of github.com:cbbrowne/slony1-engine

12 years agoMerge branch 'master' of git://git.postgresql.org/git/slony1-engine
Christopher Browne [Mon, 16 Sep 2013 17:01:03 +0000 (13:01 -0400)]
Merge branch 'master' of git://git.postgresql.org/git/slony1-engine

Conflicts:
RELEASE
doc/adminguide/ddlchanges.sgml

12 years agoMerge branch 'master' of ssh://git.postgresql.org/slony1-engine
Christopher Browne [Mon, 9 Sep 2013 21:49:25 +0000 (17:49 -0400)]
Merge branch 'master' of ssh://git.postgresql.org/slony1-engine

12 years agoMerge branch 'master' of ssh://git.postgresql.org/slony1-engine
Christopher Browne [Mon, 9 Sep 2013 21:47:34 +0000 (17:47 -0400)]
Merge branch 'master' of ssh://git.postgresql.org/slony1-engine

Conflicts:
RELEASE

12 years agodocumentation updates - fixing out of data information REL_2_2_0
Steve Singer [Mon, 9 Sep 2013 01:08:39 +0000 (21:08 -0400)]
documentation updates - fixing out of data information

12 years agoadding PG 9.3 to version list
Steve Singer [Mon, 9 Sep 2013 00:49:36 +0000 (20:49 -0400)]
adding PG 9.3 to version list

12 years agoupdating copyright year
Steve Singer [Mon, 9 Sep 2013 00:48:45 +0000 (20:48 -0400)]
updating copyright year

12 years agobug 313 - don't error out in applying EXECUTE SCRIPT sequence updates
Steve Singer [Wed, 4 Sep 2013 19:53:31 +0000 (15:53 -0400)]
bug 313 - don't error out in applying EXECUTE SCRIPT sequence updates

Since bug 304 was fixed we have been including the list of replicated
sequences and current values in the arguments on sl_log_script rows.
If some sequences are replicated to some nodes but not others then the
execute script will fail to apply on the nodes that don't have those
sequences.

This patch ignores missing sequences during an execute script
instead of erroring out.

12 years agoMinor tweaks to docs
Christopher Browne [Tue, 3 Sep 2013 20:04:08 +0000 (16:04 -0400)]
Minor tweaks to docs

12 years agoremoving stray '_' that was introduced in bug 309
Steve Singer [Tue, 3 Sep 2013 14:16:07 +0000 (10:16 -0400)]
removing stray '_' that was introduced in bug 309

12 years agopreparing for 2.2.0 release - updating version numbers
Steve Singer [Tue, 3 Sep 2013 13:06:36 +0000 (09:06 -0400)]
preparing for 2.2.0 release - updating version numbers

12 years agoremoving some bug references from the release notes
Steve Singer [Tue, 3 Sep 2013 12:59:55 +0000 (08:59 -0400)]
removing some bug references from the release notes

These bugs were introduced in 2.2.0 and fixed later in the 2.2.0 cycle