From 3d52f5216486f7d107327e8d184e3a06f23a08e0 Mon Sep 17 00:00:00 2001 From: Marco Boss Date: Thu, 24 Feb 2022 14:31:19 +0100 Subject: Fix ON CONFLICT statements for distributed tables --- src/exchangedb/plugin_exchangedb_postgres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exchangedb/plugin_exchangedb_postgres.c') diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 507a2c66..a979aeee 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -796,7 +796,7 @@ prepare_statements (struct PostgresClosure *pg) " ,coin_val" " ,coin_frac" " FROM dd" - " ON CONFLICT (coin_pub) DO NOTHING" + " ON CONFLICT DO NOTHING" /* CONFLICT on (coin_pub) */ " RETURNING " " known_coin_id" " ) " -- cgit v1.2.3