summaryrefslogtreecommitdiff
path: root/src/exchangedb/common-0001.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/common-0001.sql')
-rw-r--r--src/exchangedb/common-0001.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/common-0001.sql b/src/exchangedb/common-0001.sql
index bf2a9925c..5f0e82418 100644
--- a/src/exchangedb/common-0001.sql
+++ b/src/exchangedb/common-0001.sql
@@ -1895,7 +1895,7 @@ BEGIN
FOR i IN 1..amount LOOP
PERFORM create_shard_server(
- i
+ i::varchar
,amount
,i
,'shard-' || i::varchar || '.' || domain
@@ -1904,7 +1904,7 @@ BEGIN
,'taler-exchange'
,'5432'
,'taler-exchange-httpd'
- );
+ );
END LOOP;
END
$$;