summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d2f1c42)
The migration to a specific backend database configuration structure
was incomplete for the PostgreSQL backend, causing compilation failures.
- dbconn = PQsetdbLogin(config.pg_dbhost, // host
+ dbconn = PQsetdbLogin(dbcfg->hostname, // host
NULL, // port
NULL, // options
NULL, // tty
NULL, // port
NULL, // options
NULL, // tty
- config.pg_dbname, // database
- config.pg_dbuser, //login
- config.pg_dbpass); // password
+ dbcfg->location, // database
+ dbcfg->username, //login
+ dbcfg->password); // password
if (PQstatus(dbconn) == CONNECTION_BAD) {
logthing(LOGTHING_CRITICAL, "Connection to database failed.");
if (PQstatus(dbconn) == CONNECTION_BAD) {
logthing(LOGTHING_CRITICAL, "Connection to database failed.");