Fri Jun 8 06:25:04 PDT 2007
- Previous message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Next message: [Slony1-commit] slony1-engine postgresql-slony1-engine.spec.in
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/ducttape In directory main.slony.info:/tmp/cvs-serv417/src/ducttape Modified Files: test_1_pgbench.in Log Message: Let the test use SYNC,WAIT after pgbench finished. Jan Index: test_1_pgbench.in =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/ducttape/test_1_pgbench.in,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_1_pgbench.in 7 Jun 2007 13:01:10 -0000 1.3 --- test_1_pgbench.in 8 Jun 2007 13:25:02 -0000 1.4 *************** *** 95,98 **** --- 95,102 ---- update history set seqno = nextval('history_seq') where seqno is null; alter table history add primary key (seqno); + + create sequence unused_seq; + select nextval('unused_seq'); + select nextval('unused_seq'); _EOF_ pg_dump -s $DB1 >pgbench_schema.sql *************** *** 161,164 **** --- 165,171 ---- id = 5, fully qualified name = 'public.history_seq', comment = 'Sequence history_seq'); + set add sequence (set id = 1, origin = 11, + id = 6, fully qualified name = 'public.unused_seq', + comment = 'Sequence history_seq'); } on error { *************** *** 269,279 **** 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 ./compare_pgbench_dumps $DB1 $DB2 --- 276,288 ---- done echo "**** pgbench finished" ! slonik <<_EOF_ ! $PREAMBLE ! sync (id = 11); ! echo '**** waiting for node 22 to catch up'; ! wait for event (origin = 11, confirmed = 22, wait on = 11); ! echo '**** done.'; ! _EOF_ ! echo "**** you might terminate the replication engines." ./compare_pgbench_dumps $DB1 $DB2
- Previous message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Next message: [Slony1-commit] slony1-engine postgresql-slony1-engine.spec.in
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list