remove AS integer for Postgres backwards-commpatibility of the dump

This commit is contained in:
Christian Grothoff 2019-09-05 12:05:32 +02:00
parent 1576a1d048
commit aa3655d35e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -80,7 +80,7 @@ kill `jobs -p`
# Dump database # Dump database
echo "Dumping database" echo "Dumping database"
pg_dump -O $TARGET_DB > auditor-basedb.sql pg_dump -O $TARGET_DB | sed -e '/AS integer/d' > auditor-basedb.sql
echo $MASTER_PUB > auditor-basedb.mpub echo $MASTER_PUB > auditor-basedb.mpub