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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.