aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index de0b9181..59e3f2fb 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -320,11 +320,12 @@ postgres_connect (void *cls)
GNUNET_PQ_EXECUTE_STATEMENT_END
};
- pg->conn = GNUNET_PQ_connect_with_cfg (pg->cfg,
- "merchantdb-postgres",
- NULL,
- es,
- NULL);
+ pg->conn = GNUNET_PQ_connect_with_cfg2 (pg->cfg,
+ "merchantdb-postgres",
+ "merchant-",
+ es,
+ NULL, /* prepared statemetns */
+ GNUNET_PQ_FLAG_CHECK_CURRENT);
pg->prep_gen++;
if (NULL == pg->conn)
return GNUNET_SYSERR;