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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 312f22ee..e252c8db 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -7543,7 +7543,7 @@ postgres_lookup_pending_webhook (void *cls,
check_connection (pg);
return GNUNET_PQ_eval_prepared_singleton_select (pg->conn,
- "lookup_webhook",
+ "lookup_pending_webhook",
params,
rs_null);
}
@@ -7567,7 +7567,7 @@ postgres_lookup_pending_webhook (void *cls,
check_connection (pg);
return GNUNET_PQ_eval_prepared_singleton_select (pg->conn,
- "lookup_webhook",
+ "lookup_pending_webhook",
params,
rs);
}
@@ -7687,7 +7687,7 @@ postgres_lookup_pending_webhooks(void *cls,
check_connection (pg);
qs = GNUNET_PQ_eval_prepared_multi_select (pg->conn,
- "lookup_pending_webhook",
+ "lookup_pending_webhooks",
params_null,
&lookup_pending_webhooks_cb,
&pwlc);
@@ -10447,13 +10447,13 @@ postgres_connect (void *cls)
",http_method"
",header"
",body"
- " FROM merchant_webhook"
+ " FROM merchant_pending_webhook"
" JOIN merchant_instances"
" USING (merchant_serial)"
" WHERE merchant_instances.merchant_id=$1"
" AND merchant_pending_webhook.webhook_serial=$2"),
- /* for postgres_lookup_pending_webhook() */
- GNUNET_PQ_make_prepare ("lookup_pending_webhook",
+ /* for postgres_lookup_pending_webhooks() */
+ GNUNET_PQ_make_prepare ("lookup_pending_webhooks",
"SELECT"
" webhook_serial"
",next_attempt"