Wed Jun 13 08:56:46 PDT 2007
- Previous message: [Slony1-commit] slony1-engine/tools slony1_dump.sh
- Next message: [Slony1-commit] slony1-engine/tests support_funcs.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tests/testlogship
In directory main.slony.info:/tmp/cvs-serv10247/tests/testlogship
Modified Files:
Tag: REL_1_2_STABLE
generate_dml.sh
Log Message:
Need to load DB schema into the log shipped node
Index: generate_dml.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/testlogship/generate_dml.sh,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** generate_dml.sh 20 Apr 2007 21:40:02 -0000 1.1.2.2
--- generate_dml.sh 13 Jun 2007 15:56:44 -0000 1.1.2.3
***************
*** 87,90 ****
--- 87,92 ----
status "pull log shipping dump"
PGHOST=${HOST2} PGPORT=${PORT2} PGUSER=${USER2} ${SLTOOLDIR}/slony1_dump.sh ${DB2} ${CLUSTER1} > ${mktmp}/logship_dump.sql
+ status "load schema for replicated tables into node #3"
+ ${PGBINDIR3}/psql -h ${HOST3} -p ${PORT3} -U ${USER3} -d ${DB3} -f ${testname}/init_schema.sql
status "load log shipping dump into node #3"
${PGBINDIR3}/psql -h ${HOST3} -p ${PORT3} -U ${USER3} -d ${DB3} -f ${mktmp}/logship_dump.sql
- Previous message: [Slony1-commit] slony1-engine/tools slony1_dump.sh
- Next message: [Slony1-commit] slony1-engine/tests support_funcs.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list