freebsd-ports/databases/slony1/files/patch-cleanupthread
Pav Lucistnik a7d55a861f - 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)
2005-02-09 23:32:04 +00:00

17 lines
658 B
Text

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 "