Page MenuHomeSoftware Heritage

Use more reasonable psql options for db restores
ClosedPublic

Authored by olasd on Apr 26 2018, 10:53 AM.

Details

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

Diff Detail

Repository
rDCORE Foundations and core functionalities
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1200
Build 1544: arc lint + arc unit