mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 18:13:18 +08:00
Removed the PG12 specific macros and all the now, dead code. Also updated the testcases which had workarounds in place to make them compatible with PG12.
10 lines
393 B
Bash
Executable File
10 lines
393 B
Bash
Executable File
DUMPFILE=${DUMPFILE:-$1}
|
|
# Override PGOPTIONS to remove verbose output
|
|
PGOPTIONS='--client-min-messages=warning'
|
|
|
|
export PGOPTIONS
|
|
|
|
${PG_BINDIR}/pg_dump -h ${PGHOST} -U ${TEST_ROLE_SUPERUSER} -Fc ${TEST_DBNAME} > /dev/null 2>&1 -f ${DUMPFILE}
|
|
${PG_BINDIR}/dropdb -h ${PGHOST} -U ${TEST_ROLE_SUPERUSER} ${TEST_DBNAME}
|
|
${PG_BINDIR}/createdb -h ${PGHOST} -U ${TEST_ROLE_SUPERUSER} ${TEST_DBNAME}
|