diff options
author | Marco Boss <bossm8@bfh.ch> | 2022-02-24 14:31:19 +0100 |
---|---|---|
committer | Marco Boss <bossm8@bfh.ch> | 2022-02-24 14:31:19 +0100 |
commit | 3d52f5216486f7d107327e8d184e3a06f23a08e0 (patch) | |
tree | 9efe34bce7ebe2a524b01def8bb0d248c13c40a2 /src/exchangedb/plugin_exchangedb_postgres.c | |
parent | fd9ba53c492835b52bd75a5ae113b7bcc81fe161 (diff) |
Fix ON CONFLICT statements for distributed tables
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
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" " ) " |