HomeSoftware Heritage

Ignore psqlrc when loading the rubygems database dump

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Ignore psqlrc when loading the rubygems database dump

The SQL dump contains ownership instructions that can't be run if you
don't have the right users in your database clusters. When someone has a
psqlrc with ON_ERROR_STOP, this fails the load of the dump.

Use the opportunity to trigger an exception when psql returns a non-zero
exit code, rather than continue with an empty/inconsistent database.

Details

Provenance
olasdAuthored on Dec 5 2022, 1:43 PM
olasdPushed on Dec 5 2022, 2:56 PM
Differential Revision
D8914: Ignore psqlrc when loading the rubygems database dump
Build Status
Buildable 33081
Build 51855: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.