diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-27 16:52:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 16:52:30 +0900 |
commit | ff1b4eb35ecac420d71c552402e1192551413a5f (patch) | |
tree | c72fa52eed26784b150c47e46ecc16370fbdcfde /activerecord/lib | |
parent | 8541394e71e961906daaea5961276892278c8a91 (diff) | |
parent | 0d6325cfb75796483cabf738f4d45abef7c0a33c (diff) | |
download | rails-ff1b4eb35ecac420d71c552402e1192551413a5f.tar.gz rails-ff1b4eb35ecac420d71c552402e1192551413a5f.tar.bz2 rails-ff1b4eb35ecac420d71c552402e1192551413a5f.zip |
Merge pull request #33997 from MatthiasWinkelmann/pg_dump
Removed invalid -X flag for pg_dump, fixes #33996
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/tasks/postgresql_database_tasks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/tasks/postgresql_database_tasks.rb b/activerecord/lib/active_record/tasks/postgresql_database_tasks.rb index 4da918ada3..6d7dc05847 100644 --- a/activerecord/lib/active_record/tasks/postgresql_database_tasks.rb +++ b/activerecord/lib/active_record/tasks/postgresql_database_tasks.rb @@ -61,7 +61,7 @@ module ActiveRecord ActiveRecord::Base.dump_schemas end - args = ["-s", "-X", "-x", "-O", "-f", filename] + args = ["-s", "-x", "-O", "-f", filename] args.concat(Array(extra_flags)) if extra_flags unless search_path.blank? args += search_path.split(",").map do |part| |