aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorJoseph <Joseph.xu@efrei.net>2023-03-29 11:18:20 -0400
committerJoseph <Joseph.xu@efrei.net>2023-03-29 11:18:20 -0400
commit9cce35d27027e1e72e44ac8965ae687d75f1c93d (patch)
treea0d2b7b7ffafeca1dcfd04872da022f51ca8391c /src/exchangedb/plugin_exchangedb_postgres.c
parent0c2d5bba55d55981f50da3f822a6f45ff5d74cd3 (diff)
downloadexchange-9cce35d27027e1e72e44ac8965ae687d75f1c93d.tar.xz
New sql code for batch ensure coin known
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 2f3318184..7e3aa2b1e 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -216,7 +216,7 @@
#include "pg_select_aml_process.h"
#include "pg_select_aml_history.h"
#include "pg_insert_aml_decision.h"
-
+#include "pg_batch_ensure_coin_known.h"
/**
* Set to 1 to enable Postgres auto_explain module. This will
@@ -774,6 +774,9 @@ libtaler_plugin_exchangedb_postgres_init (void *cls)
plugin->insert_aml_decision
= &TEH_PG_insert_aml_decision;
+ plugin->batch_ensure_coin_known
+ = &TEH_PG_batch_ensure_coin_known;
+
return plugin;
}