Jan Wieck wieck at lists.slony.info
Wed Jun 6 09:20:58 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/src/ducttape
In directory main.slony.info:/tmp/cvs-serv10660/src/ducttape

Modified Files:
	test_8_logship.in 
Log Message:
Let the logshipping files also switch to session_replication_role = "replica"
or "local" (for DDL).

Jan


Index: test_8_logship.in
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/ducttape/test_8_logship.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_8_logship.in	31 May 2007 13:29:26 -0000	1.2
--- test_8_logship.in	6 Jun 2007 16:20:55 -0000	1.3
***************
*** 282,292 ****
  done
  echo "**** pgbench finished"
! echo "**** please terminate the replication engines when caught up."
! wait $slon1_pid
! wait $slon2_pid
  
! kill $pgbench_pid 2>/dev/null
! kill $slon1_pid 2>/dev/null
! kill $slon2_pid 2>/dev/null
  
  sh ./compare_pgbench_dumps $DB1 $DB2
--- 282,293 ----
  done
  echo "**** pgbench finished"
! slonik <<_EOF_
! 	include <$PREAMBLE_FILE>;
  
! 	echo '**** waiting for DB2 to catch up';
! 	sync (id = 1);
! 	wait for event (origin = 1, confirmed = 2, wait on = 1);
! _EOF_
! echo "**** you can terminate the replication engines."
  
  sh ./compare_pgbench_dumps $DB1 $DB2



More information about the Slony1-commit mailing list