use talercheck DB

This commit is contained in:
Christian Grothoff 2015-05-15 09:33:15 +02:00
parent 701a10cbe7
commit 3ac86568b0
2 changed files with 3 additions and 3 deletions

View File

@ -3,4 +3,4 @@
DB = postgres
#The connection string the plugin has to use for connecting to the database
DB_CONN_STR = postgres:///taler
DB_CONN_STR = postgres:///talercheck

View File

@ -165,7 +165,7 @@ main(int argc,
int ret;
// FIXME: pass valid connect string for tests...
conn = PQconnectdb ("");
conn = PQconnectdb ("postgres:///talercheck");
if (CONNECTION_OK != PQstatus (conn))
{
fprintf (stderr,
@ -177,7 +177,7 @@ main(int argc,
}
result = PQexec (conn,
"CREATE TABLE test_pq ("
"CREATE TEMPORARY TABLE IF NOT EXISTS test_pq ("
" pub BYTEA NOT NULL"
",sig BYTEA NOT NULL"
",abs_time INT8 NOT NULL"