030.snapshot_isolation/test.sh does not need the work anymore.
fi
fi
+ # Snapshot isolation mode requires REPEATABLE READ transaction isolation mode.
+ if [ $MODE = 'i' ];then
+ echo "default_transaction_isolation = 'repeatable read'" >> $PGCONF
+ fi
+
sed -i '/host.*all.*all.*trust$/s/^/#/g' $PGHBACONF
sed -i '/local.*all.*all.*trust$/s/^/#/g' $PGHBACONF
dir=`pwd`
-# SI mode requires REPEATABLE READ transaction isolation mode.
-echo "default_transaction_isolation = 'repeatable read'" >> data0/postgresql.conf
-echo "default_transaction_isolation = 'repeatable read'" >> data1/postgresql.conf
-
source ./bashrc.ports
./startall