diff options
| author | Christian Grothoff <christian@grothoff.org> | 2021-12-05 17:16:00 +0100 |
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2021-12-05 17:16:00 +0100 |
| commit | 67de20d26e7eed951528db6aaedaf163108f49a5 (patch) | |
| tree | 900f533ef8cd5ce0217fab1ff20b61d228ae753b /src/exchangedb/drop0001.sql | |
| parent | c0d2af8a49a35e4face7e758aad670de94682633 (diff) | |
major rework of withdraw transaction to use stored procedure and (presumably) reduce serialization failures by avoiding SELECT before INSERT
Diffstat (limited to 'src/exchangedb/drop0001.sql')
| -rw-r--r-- | src/exchangedb/drop0001.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchangedb/drop0001.sql b/src/exchangedb/drop0001.sql index 52079e52..3dcbb81f 100644 --- a/src/exchangedb/drop0001.sql +++ b/src/exchangedb/drop0001.sql @@ -54,6 +54,10 @@ DROP TABLE IF EXISTS reserves CASCADE; DROP TABLE IF EXISTS denomination_revocations CASCADE; DROP TABLE IF EXISTS denominations CASCADE; +DROP FUNCTION IF EXISTS exchange_do_withdraw(bigint,integer,bytea,bytea,bytea,bytea,bytea,bigint,bigint) ; + +DROP FUNCTION IF EXISTS exchange_do_withdraw_limit_check(bigint,bigint,bigint,int) ; + -- And we're out of here... COMMIT; |
