Move around --no-tablespaces

Turns out, at the moment, this is ineffective when combined with the archive
formats, like the custom format in use. Therefore, move it to the pg_restore
command, where hopefully it'll work.
This commit is contained in:
Christopher Baines 2020-05-16 08:42:00 +01:00
parent 796c129a36
commit 9c72fc23dc
3 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,6 @@ ionice -p $$ -c 3 || true
pg_dump --format=custom --compress=9 --serializable-deferrable \
--no-comments \
--no-tablespaces \
--username=guix_data_service \
--file="$TEMPORARY_FILE_NAME" \
"$DATABASE_NAME"