Jan Wieck wieck at lists.slony.info
Thu Jun 7 06:01:12 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/src/ducttape
In directory main.slony.info:/tmp/cvs-serv25549/src/ducttape

Modified Files:
	test_1_pgbench.in 
Log Message:
Attempt to remove the sl_seqlog flood.

This patch adds a new function seqtrack(seqid,seqvalue) that will return
NULL if called with the same seqvalue before, the seqvalue instead. This
function is used to suppress sl_seqlog rows of sequences that didn't change
since the last SYNC. 

Jan


Index: test_1_pgbench.in
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/ducttape/test_1_pgbench.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_1_pgbench.in	15 May 2007 14:05:15 -0000	1.2
--- test_1_pgbench.in	7 Jun 2007 13:01:10 -0000	1.3
***************
*** 158,161 ****
--- 158,164 ----
  			id = 4, fully qualified name = 'public.history',
  			comment = 'Table history');
+ 		set add sequence (set id = 1, origin = 11,
+ 			id = 5, fully qualified name = 'public.history_seq',
+ 			comment = 'Sequence history_seq');
  	}
  	on error {



More information about the Slony1-commit mailing list