summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-11-23 13:40:13 +0100
committerChristian Grothoff <christian@grothoff.org>2022-11-23 13:40:13 +0100
commit0429b0cede718e3306e088993023dbe3b47c3382 (patch)
treea23a061faacecfa0837cd4846c87a6f39f6db4af /src/exchangedb/plugin_exchangedb_postgres.c
parent505ea0a0431d54dd8be76cb6ca6c7846db04d76f (diff)
parentd3b46de9f82574cdb85ae2ad7a7a5cb5390471f2 (diff)
downloadexchange-0429b0cede718e3306e088993023dbe3b47c3382.tar.gz
exchange-0429b0cede718e3306e088993023dbe3b47c3382.tar.bz2
exchange-0429b0cede718e3306e088993023dbe3b47c3382.zip
Merge branch 'master' of git+ssh://git.taler.net/exchange
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 6a2a473c1..5b59d4b05 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -207,7 +207,7 @@
#include "pg_reserves_update.h"
#include "pg_setup_wire_target.h"
#include "pg_compute_shard.h"
-
+#include "pg_batch_reserves_in_insert.h"
/**
* Set to 1 to enable Postgres auto_explain module. This will
* slow down things a _lot_, but also provide extensive logging
@@ -5447,6 +5447,9 @@ libtaler_plugin_exchangedb_postgres_init (void *cls)
plugin->set_purse_balance
= &TEH_PG_set_purse_balance;
+ plugin->batch_reserves_in_insert
+ = &TEH_PG_batch_reserves_in_insert;
+
return plugin;
}