changeset 18 | f3657061ec00 |
parent 17 | b3731a25b9ec |
child 20 | 5fec678f931b |
--- a/db_bridge/postgresql_db.cpp +++ b/db_bridge/postgresql_db.cpp @@ -13,12 +13,12 @@ password = pwd; database = db; - conninfo = "user=" + user + "dbname=" + database; + conninfo = "user=" + user + " dbname=" + database; if (server != "" && pwd == "") { std::cout << "Passwort von " << user << "@" << server << ": "; std::getline (std::cin, password); - conninfo += " host=" + server + "password=" + password; + conninfo += " host=" + server + " password=" + password; } }