Mon Apr 6 15:33:07 PDT 2009
- Previous message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Next message: [Slony1-commit] slony1-engine RELEASE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tests/test1 In directory main.slony.info:/tmp/cvs-serv17032/tests/test1 Modified Files: Tag: REL_2_0_STABLE README generate_dml.sh Log Message: Fix bug #76 - REPAIR CONFIG could have collisions where, when we load a schema, one entry in sl_table already has an OID value that incorrectly matches a value that another update is trying to fix. This would cause REPAIR CONFIG to fail. Put in a query that updates the oids in sl_table and sl_sequence to randomly selected values from pg_class that couldn't match (since the values selected are from non-table/non-sequence objects) Index: README =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/tests/test1/README,v retrieving revision 1.13 retrieving revision 1.13.2.1 diff -C2 -d -r1.13 -r1.13.2.1 *** README 15 Jul 2008 22:25:44 -0000 1.13 --- README 6 Apr 2009 22:33:05 -0000 1.13.2.1 *************** *** 37,38 **** --- 37,40 ---- 9. It runs the cleanupEvent() function by hand + + 10. It runs updateReloid(), which repairs the OIDs on sl_table/sl_sequence \ No newline at end of file Index: generate_dml.sh =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/tests/test1/generate_dml.sh,v retrieving revision 1.18 retrieving revision 1.18.2.1 diff -C2 -d -r1.18 -r1.18.2.1 *** generate_dml.sh 17 Nov 2008 22:38:50 -0000 1.18 --- generate_dml.sh 6 Apr 2009 22:33:05 -0000 1.18.2.1 *************** *** 72,75 **** --- 72,78 ---- generate_initdata launch_poll + status "run updateReloid() - equivalent to REPAIR NODE" + $pgbindir/psql -h $host -p $port -d $db -U $user -c "select \"_${CLUSTER1}\".updateReloid(1, 0);" 1> $mktmp/reloidtest.log 2> $mktmp/reloidtest.log + status "loading data" $pgbindir/psql -h $host -p $port -d $db -U $user < $mktmp/generate.data 1> $mktmp/initdata.log 2> $mktmp/initdata.log
- Previous message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Next message: [Slony1-commit] slony1-engine RELEASE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list