summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorBoris Pavlovic <boris@pavlovic.me>2012-11-30 15:15:30 +0400
committerBoris Pavlovic <boris@pavlovic.me>2012-11-30 16:47:52 +0400
commitce79e4ce66eac284ce29941744fb09e316b899db (patch)
treecb59832965437178dd8ceee57b7490dae02a753f /nova/openstack
parent37df2052d7b9666c72478de79b46a60b15c9f4fd (diff)
downloadnova-ce79e4ce66eac284ce29941744fb09e316b899db.tar.gz
nova-ce79e4ce66eac284ce29941744fb09e316b899db.tar.xz
nova-ce79e4ce66eac284ce29941744fb09e316b899db.zip
Fix test_migrations for postgres
Fix creating .pgpass file that is used to connect to postgress database without password prompt. Fix command that execute SQL in postgres DB: a) there were no spaces between command options and values b) we can't drop database while we are connected to it. There is a special database `template1` in postgres for dropping databases. c) using `'` instead of `"` in bash to quote SQL expressions because bash interprets only text in single quotes as plain string. Remove SQL requests which lock database Fix stripping password, so it works not only when password contains only spaces. Change-Id: I753a044aba8579b0f4225b4e67163d046ec1a32e
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions