commit f487577e2bab33057c322ae89aca44e9326e841b
parent eedf9832a99f411bf806b11c87ce27ca24ce5b60
Author: Özgür Kesim <oec@codeblau.de>
Date: Wed, 2 Apr 2025 16:15:34 +0200
[exchangedb] need to drop the function first, because of param name change
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/exchangedb/exchange_do_recoup_to_reserve.sql b/src/exchangedb/exchange_do_recoup_to_reserve.sql
@@ -14,8 +14,11 @@
-- TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
--
+-- When parameter names have changed, we can not REPLACE
+-- but need to drop first
+DROP FUNCTION IF EXISTS exchange_do_recoup_to_reserve;
-CREATE OR REPLACE FUNCTION exchange_do_recoup_to_reserve(
+CREATE FUNCTION exchange_do_recoup_to_reserve(
IN in_reserve_pub BYTEA,
IN in_withdraw_id INT8,
IN in_coin_blind BYTEA,