db_postgres: quote table name in StoreClientDeliveryReceipts
This commit is contained in:
parent
2ed4491c17
commit
79dbb20f98
@ -411,7 +411,7 @@ func (db *PostgresDB) StoreClientDeliveryReceipts(networkID int64, client string
|
|||||||
}
|
}
|
||||||
defer tx.Rollback()
|
defer tx.Rollback()
|
||||||
|
|
||||||
_, err = tx.Exec("DELETE FROM DeliveryReceipt WHERE network = $1 AND client = $2",
|
_, err = tx.Exec(`DELETE FROM "DeliveryReceipt" WHERE network = $1 AND client = $2`,
|
||||||
networkID, client)
|
networkID, client)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user