Tue Dec 13 19:37:44 PST 2005
- Previous message: [Slony1-commit] By cbbrowne: Fix up event documentation - STORE_NODE needs to include
- Next message: [Slony1-commit] By cbbrowne: Documentation for 1.1.5: - Tries to use TRUNCATE - Add
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Expressly add plpgsql to new DBs
Tags:
----
REL_1_1_STABLE
Modified Files:
--------------
slony1-engine/tests:
run_test.sh (r1.5.2.1 -> r1.5.2.2)
-------------- next part --------------
Index: run_test.sh
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tests/run_test.sh,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -Ltests/run_test.sh -Ltests/run_test.sh -u -w -r1.5.2.1 -r1.5.2.2
--- tests/run_test.sh
+++ tests/run_test.sh
@@ -246,6 +246,8 @@
else
err 3 "No db '${db}' or host '${host}' or user '${user}' or port '${port}' specified"
fi
+ status "add plpgsql to Origin"
+ $pgbindir/createlang -h $host -U $user -p $port plpgsql $db
status "loading origin DB with $testname/init_schema.sql"
$pgbindir/psql -h $host -p $port $db $user < $testname/init_schema.sql 1> ${mktmp}/init_schema.sql.${originnode} 2>${mktmp}/init_schema.sql.${originnode}
status "done"
@@ -273,6 +275,8 @@
if [ ${alias} -ne ${originnode} ]; then
status "creating subscriber ${alias} DB: $user -h $host -U $user -p $port $db"
$pgbindir/createdb -O $user -h $host -U $user -p $port --encoding $ENCODING $db 1> ${mktmp}/createdb.${alias} 2> ${mktmp}/createdb.${alias}
+ status "add plpgsql to subscriber"
+ $pgbindir/createlang -h $ohost -U $ouser -p $oport plpgsql $odb
status "loading subscriber ${alias} DB from $odb"
$opgbindir/pg_dump -s -h $ohost -U $ouser -p $oport $odb | $pgbindir/psql -h $host -p $port $db $user 1> ${mktmp}/init_schema.sql.${alias} 2> ${mktmp}/init_schema.sql.${alias}
status "done"
- Previous message: [Slony1-commit] By cbbrowne: Fix up event documentation - STORE_NODE needs to include
- Next message: [Slony1-commit] By cbbrowne: Documentation for 1.1.5: - Tries to use TRUNCATE - Add
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list