fix SQL error for pq 9.4
This commit is contained in:
parent
d8b40ae9b8
commit
0f5819de58
@ -911,7 +911,7 @@ postgres_prepare (PGconn *db_conn)
|
|||||||
",amount_with_fee_curr"
|
",amount_with_fee_curr"
|
||||||
",refund_serial_id"
|
",refund_serial_id"
|
||||||
" FROM refunds"
|
" FROM refunds"
|
||||||
" JOIN known_coins ON (coin_pub)"
|
" JOIN known_coins USING (coin_pub)"
|
||||||
" WHERE refund_serial_id>=$1"
|
" WHERE refund_serial_id>=$1"
|
||||||
" ORDER BY refund_serial_id ASC",
|
" ORDER BY refund_serial_id ASC",
|
||||||
1, NULL);
|
1, NULL);
|
||||||
@ -1051,7 +1051,7 @@ postgres_prepare (PGconn *db_conn)
|
|||||||
",done"
|
",done"
|
||||||
",deposit_serial_id"
|
",deposit_serial_id"
|
||||||
" FROM deposits"
|
" FROM deposits"
|
||||||
" JOIN known_coins ON (coin_pub)"
|
" JOIN known_coins USING (coin_pub)"
|
||||||
" WHERE ("
|
" WHERE ("
|
||||||
" (deposit_serial_id>=$1)"
|
" (deposit_serial_id>=$1)"
|
||||||
" )"
|
" )"
|
||||||
|
Loading…
Reference in New Issue
Block a user