aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarco Boss <bossm8@bfh.ch>2022-04-02 11:52:21 +0200
committerMarco Boss <bossm8@bfh.ch>2022-04-02 11:52:21 +0200
commit82718aecf8a26d9052758e9bb8c999a0dd2b7e33 (patch)
tree9612d45d8ab000dc97e024872bafce8dbe12b2c2 /src
parent1b76ba5e9a976d431eae4cdc464c698122f5fbf0 (diff)
fix argument to create_shard_server
Diffstat (limited to 'src')
-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
$$;