Tue Dec 11 12:32:52 PST 2007
- Previous message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Next message: [Slony1-commit] slony1-engine/tests/test1 README generate_dml.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tests In directory main.slony.info:/tmp/cvs-serv27456 Modified Files: poll_cluster.sh Log Message: Change query looking for O/S sl_log_1 data to accomodate the change from using "xxid" functions/types to the new snapshot function in PG 8.3. Index: poll_cluster.sh =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/tests/poll_cluster.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** poll_cluster.sh 31 May 2006 20:09:54 -0000 1.3 --- poll_cluster.sh 11 Dec 2007 20:32:50 -0000 1.4 *************** *** 34,38 **** if [ -n "${cluster}" ]; then sleep 15 ! SQL="SELECT count(l.*) FROM \"_${cluster}\".sl_log_1 l WHERE l.log_xid > (SELECT ev_maxxid FROM \"_${cluster}\".sl_event WHERE ev_timestamp = (SELECT max(ev_timestamp) FROM \"_${cluster}\".sl_event) limit 1)" SQL2="SELECT max(st_lag_num_events) FROM \"_${cluster}\".sl_status" while : ; do --- 34,39 ---- if [ -n "${cluster}" ]; then sleep 15 ! SQL="select count(*) from \"_${cluster}\".sl_log_1 l ! where not(txid_visible_in_snapshot(l.log_txid, (select ev_snapshot from \"_${cluster}\".sl_event where ev_timestamp = (select max(ev_timestamp) from \"_${cluster}\".sl_event))));" SQL2="SELECT max(st_lag_num_events) FROM \"_${cluster}\".sl_status" while : ; do *************** *** 51,55 **** exit else ! echo "$lag3 rows behind" > $tty sleep 1 fi --- 52,56 ---- exit else ! echo "$lag3 rows+events behind" > $tty sleep 1 fi
- Previous message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Next message: [Slony1-commit] slony1-engine/tests/test1 README generate_dml.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list