Report about dumping the database

This commit is contained in:
Andrew Ruthven 2022-06-28 23:03:22 +12:00 committed by Andrew Ruthven
parent d90d85d00e
commit d5cb124184
5 changed files with 2 additions and 1 deletions

View File

@ -163,7 +163,8 @@ dump_database() {
TEST="Dump-Database"
pg_dump -Fp $PSQLOPTS ${DBNAME} \
| grep -v -E '(CREATE\ EXTENSION|COMMENT\ ON)' \
> "${REGRESSION}/initial.dbdump" 2>&1
> "${REGRESSION}/initial.dbdump" 2> "${RESULTS}/${TEST}"
check_result "${TEST}"
# This is ugly, for the COPY into dav_binding to work on Pg >= 9.6 (possibly earlier)
# we need to ensure that the schema that collection is in is within our search path