HomeSoftware Heritage

Use more reasonable psql options for db restores

Description

Use more reasonable psql options for db restores

Summary:
when ON_ERROR_STOP is not set, dumps can restore even if there's a
syntax error. That's not really a sensible thing to do.

Also add --no-psqlrc because my psqlrc has stuff in it that makes psql noisy in
batch mode (\timing).

Test Plan:
Run the swh-vault tests, which are the only ones to use this fixture
in this mode

Reviewers: Reviewers!

Differential Revision: https://forge.softwareheritage.org/D307

Details

Provenance
olasdAuthored on Apr 26 2018, 10:51 AM
olasdPushed on Apr 26 2018, 2:02 PM
Differential Revision
D307: Use more reasonable psql options for db restores
Parents
rDCOREddddb69ab07c: swh.core.serializers: Add custom types serialization
Branches
Unknown
Tags
Unknown
References
tag: v0.0.38