Avoid loading user's psqlrc when loading test structure
This commit is contained in:
parent
e5fda36d8a
commit
78fb8bb7e1
@ -67,7 +67,7 @@ def structure_dump(filename)
|
||||
|
||||
def structure_load(filename)
|
||||
set_psql_env
|
||||
Kernel.system("psql -q -f #{Shellwords.escape(filename)} #{configuration['database']}")
|
||||
Kernel.system("psql -X -q -f #{Shellwords.escape(filename)} #{configuration['database']}")
|
||||
end
|
||||
|
||||
private
|
||||
|
Loading…
Reference in New Issue
Block a user