From 0f5819de588d01a68c4b8c28c65b752cfad890ab Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 19 Mar 2017 10:59:54 +0100 Subject: fix SQL error for pq 9.4 --- src/exchangedb/plugin_exchangedb_postgres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/exchangedb') diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 1c93bb71c..5bfc1168b 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -911,7 +911,7 @@ postgres_prepare (PGconn *db_conn) ",amount_with_fee_curr" ",refund_serial_id" " FROM refunds" - " JOIN known_coins ON (coin_pub)" + " JOIN known_coins USING (coin_pub)" " WHERE refund_serial_id>=$1" " ORDER BY refund_serial_id ASC", 1, NULL); @@ -1051,7 +1051,7 @@ postgres_prepare (PGconn *db_conn) ",done" ",deposit_serial_id" " FROM deposits" - " JOIN known_coins ON (coin_pub)" + " JOIN known_coins USING (coin_pub)" " WHERE (" " (deposit_serial_id>=$1)" " )" -- cgit v1.2.3