diff options
author | pav <pav@FreeBSD.org> | 2005-02-10 07:32:04 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-02-10 07:32:04 +0800 |
commit | 20cdfaf36d30dbeddd23de32164ec0815fd43c0d (patch) | |
tree | 718058613eef8640f96ac35a227494422c98072f /databases | |
parent | b6399c38ffacf00c65d4efb2b682d4d3b98afe82 (diff) | |
download | freebsd-ports-gnome-20cdfaf36d30dbeddd23de32164ec0815fd43c0d.tar.gz freebsd-ports-gnome-20cdfaf36d30dbeddd23de32164ec0815fd43c0d.tar.zst freebsd-ports-gnome-20cdfaf36d30dbeddd23de32164ec0815fd43c0d.zip |
- The "slon" daemon performs many actions in the replication. One of those
contained a bug which caused large replication backlog to perform extremely
poorly. This patch pulls in the bug fix from the CVS version of slony.
PR: ports/77312
Submitted by: Vivek Khera <vivek@khera.org> (maintainer)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/slony1/Makefile | 2 | ||||
-rw-r--r-- | databases/slony1/files/patch-cleanupthread | 17 | ||||
-rw-r--r-- | databases/slony1v2/Makefile | 2 | ||||
-rw-r--r-- | databases/slony1v2/files/patch-cleanupthread | 17 |
4 files changed, 36 insertions, 2 deletions
diff --git a/databases/slony1/Makefile b/databases/slony1/Makefile index c5683f2896bd..85f210207892 100644 --- a/databases/slony1/Makefile +++ b/databases/slony1/Makefile @@ -7,7 +7,7 @@ PORTNAME= slony1 PORTVERSION= 1.0.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/ diff --git a/databases/slony1/files/patch-cleanupthread b/databases/slony1/files/patch-cleanupthread new file mode 100644 index 000000000000..59569507efba --- /dev/null +++ b/databases/slony1/files/patch-cleanupthread @@ -0,0 +1,17 @@ +Index: src/slon/cleanup_thread.c +=================================================================== +RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/cleanup_thread.c,v +retrieving revision 1.13.2.4 +retrieving revision 1.13.2.5 +diff -u -r1.13.2.4 -r1.13.2.5 +--- cleanup_thread.c 30 Sep 2004 17:45:06 -0000 1.13.2.4 ++++ cleanup_thread.c 12 Jan 2005 03:15:36 -0000 1.13.2.5 +@@ -145,7 +145,7 @@ + "delete from %s.sl_log_1 " + "where log_origin = '%s' " + "and log_xid < '%s'; " +- "delete from %s.sl_log_1 " ++ "delete from %s.sl_log_2 " + "where log_origin = '%s' " + "and log_xid < '%s'; " + "delete from %s.sl_seqlog " diff --git a/databases/slony1v2/Makefile b/databases/slony1v2/Makefile index c5683f2896bd..85f210207892 100644 --- a/databases/slony1v2/Makefile +++ b/databases/slony1v2/Makefile @@ -7,7 +7,7 @@ PORTNAME= slony1 PORTVERSION= 1.0.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/ diff --git a/databases/slony1v2/files/patch-cleanupthread b/databases/slony1v2/files/patch-cleanupthread new file mode 100644 index 000000000000..59569507efba --- /dev/null +++ b/databases/slony1v2/files/patch-cleanupthread @@ -0,0 +1,17 @@ +Index: src/slon/cleanup_thread.c +=================================================================== +RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/cleanup_thread.c,v +retrieving revision 1.13.2.4 +retrieving revision 1.13.2.5 +diff -u -r1.13.2.4 -r1.13.2.5 +--- cleanup_thread.c 30 Sep 2004 17:45:06 -0000 1.13.2.4 ++++ cleanup_thread.c 12 Jan 2005 03:15:36 -0000 1.13.2.5 +@@ -145,7 +145,7 @@ + "delete from %s.sl_log_1 " + "where log_origin = '%s' " + "and log_xid < '%s'; " +- "delete from %s.sl_log_1 " ++ "delete from %s.sl_log_2 " + "where log_origin = '%s' " + "and log_xid < '%s'; " + "delete from %s.sl_seqlog " |