summaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-15 09:33:15 +0200
committerChristian Grothoff <christian@grothoff.org>2015-05-15 09:33:15 +0200
commit3ac86568b0223ab3dfca83b497208dc0f2261fdd (patch)
tree7244b75e2f9876aabb9ec8d092b7b1091434c6c3 /src/pq
parent701a10cbe7ed1bc762d5f1c2a843806f2856014e (diff)
downloadexchange-3ac86568b0223ab3dfca83b497208dc0f2261fdd.tar.gz
exchange-3ac86568b0223ab3dfca83b497208dc0f2261fdd.tar.bz2
exchange-3ac86568b0223ab3dfca83b497208dc0f2261fdd.zip
use talercheck DB
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/test_pq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c
index 260323ef..2133182d 100644
--- a/src/pq/test_pq.c
+++ b/src/pq/test_pq.c
@@ -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"