This commit is contained in:
Christian Grothoff 2019-05-09 12:55:09 +02:00
parent 105555b469
commit 39263a48d3
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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
};