diff options
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 9dc8eb2f3..35b9aa57d 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -1732,12 +1732,12 @@ postgres_get_session (void *cls) properly use indices */ { struct GNUNET_PQ_ExecuteStatement es[] = { - GNUNET_PQ_make_execute ("LOAD 'auto_explain';"), - GNUNET_PQ_make_execute ("SET auto_explain.log_min_duration=50;"), - GNUNET_PQ_make_execute ("SET auto_explain.log_timing=TRUE;"), - GNUNET_PQ_make_execute ("SET auto_explain.log_analyze=TRUE;"), - GNUNET_PQ_make_execute ("SET enable_sort=OFF;"), - GNUNET_PQ_make_execute ("SET enable_seqscan=OFF;"), + GNUNET_PQ_make_try_execute ("LOAD 'auto_explain';"), + GNUNET_PQ_make_try_execute ("SET auto_explain.log_min_duration=50;"), + GNUNET_PQ_make_try_execute ("SET auto_explain.log_timing=TRUE;"), + GNUNET_PQ_make_try_execute ("SET auto_explain.log_analyze=TRUE;"), + GNUNET_PQ_make_try_execute ("SET enable_sort=OFF;"), + GNUNET_PQ_make_try_execute ("SET enable_seqscan=OFF;"), GNUNET_PQ_EXECUTE_STATEMENT_END }; |