diff options
author | Marco Boss <bossm8@bfh.ch> | 2022-05-02 00:27:59 +0200 |
---|---|---|
committer | Marco Boss <bossm8@bfh.ch> | 2022-05-02 00:27:59 +0200 |
commit | 72ae759fa0e31766855dd30b6783f1f14c942e39 (patch) | |
tree | 09d6d1a2653d2527101939656115e2385d919ab7 /src/exchangedb/common-0001.sql | |
parent | a4ede7caec835cf530f53718b6303a88ae4f1581 (diff) | |
download | exchange-72ae759fa0e31766855dd30b6783f1f14c942e39.tar.xz |
include shard domain and remote users in taler config
Diffstat (limited to 'src/exchangedb/common-0001.sql')
-rw-r--r-- | src/exchangedb/common-0001.sql | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/exchangedb/common-0001.sql b/src/exchangedb/common-0001.sql index a96b91fa1..6d45c22ea 100644 --- a/src/exchangedb/common-0001.sql +++ b/src/exchangedb/common-0001.sql @@ -2627,7 +2627,9 @@ COMMENT ON FUNCTION create_shard_server CREATE OR REPLACE FUNCTION create_foreign_servers( amount INTEGER - ,domain VARCHAR DEFAULT 'perf.taler' + ,domain VARCHAR + ,remote_user VARCHAR DEFAULT 'taler' + ,remote_user_password VARCHAR DEFAULT 'taler' ) RETURNS VOID LANGUAGE plpgsql @@ -2642,14 +2644,16 @@ BEGIN ,amount ,i ,'shard-' || i::varchar || '.' || domain - ,'taler' - ,'taler' + ,remote_user + ,remote_user_password ,'taler-exchange' ,'5432' ,'taler-exchange-httpd' ); END LOOP; + PERFORM drop_default_partitions(); + END $$; |