[regression tests] Use tar mode for dumps rather than -Fc

The tar mode will be more reliable for restore on older systems
I hope.
This commit is contained in:
Andrew McMillan 2010-09-12 11:54:32 +12:00
parent 937c212b1a
commit 8afb4676fa
3 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ restore_database() {
TEST="Restore-Database"
createdb --owner davical_dba --encoding UTF8 ${DBNAME} >"${RESULTS}/${TEST}" 2>&1
pg_restore -Fc -d ${DBNAME} "${REGRESSION}/initial.dbdump" >>"${RESULTS}/${TEST}" 2>&1
pg_restore -Ft -d ${DBNAME} "${REGRESSION}/initial.dbdump" >>"${RESULTS}/${TEST}" 2>&1
check_result "${TEST}"
}

Binary file not shown.

Binary file not shown.