diff options
author | Ralin Chimev <ralin.chimev@gmail.com> | 2016-05-10 20:44:33 +0300 |
---|---|---|
committer | Ralin Chimev <ralin.chimev@gmail.com> | 2016-05-10 22:23:44 +0300 |
commit | 09a90bb6a06b1dafc9881651f585e8b40dda4227 (patch) | |
tree | 779fe084eb1539d5ef35509b4ae00dc0c2a0b0fe /railties/lib/rails/ruby_version_check.rb | |
parent | 932655a4ef61083da98724bb612d00f89e153c46 (diff) | |
download | rails-09a90bb6a06b1dafc9881651f585e8b40dda4227.tar.gz rails-09a90bb6a06b1dafc9881651f585e8b40dda4227.tar.bz2 rails-09a90bb6a06b1dafc9881651f585e8b40dda4227.zip |
PostgreSQL: Fix db:structure:load silent failure on SQL error
The command line flag "-v ON_ERROR_STOP=1" should be used when invoking psql to make sure errors are not suppressed.
Example: psql -v ON_ERROR_STOP=1 -q -f awesome-file.sql my-app-db
Fixes #23818.
Diffstat (limited to 'railties/lib/rails/ruby_version_check.rb')
0 files changed, 0 insertions, 0 deletions