exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 0f5819de588d01a68c4b8c28c65b752cfad890ab
parent d8b40ae9b8f85efcee0344570ffd2e8d2da0f6be
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 19 Mar 2017 10:59:54 +0100

fix SQL error for pq 9.4

Diffstat:
Msrc/exchangedb/plugin_exchangedb_postgres.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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)" " )"