Skip to content
Snippets Groups Projects
Commit a66e24bf authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

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.
parent f4aafe02
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment