[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: drop functions
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: drop functions |
Date: |
Sat, 02 Apr 2022 13:42:07 +0200 |
This is an automated email from the git hooks/post-receive script.
marco-boss pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 5880a8ec drop functions
5880a8ec is described below
commit 5880a8ec4faa75e1eb5ed80dd36ae978b9a1e54f
Author: Marco Boss <bossm8@bfh.ch>
AuthorDate: Sat Apr 2 13:42:00 2022 +0200
drop functions
---
src/exchange-tools/taler-exchange-dbinit.c | 9 ++++++---
src/exchangedb/common-0001.sql | 5 +++--
src/exchangedb/drop0001.sql | 3 ++-
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/exchange-tools/taler-exchange-dbinit.c
b/src/exchange-tools/taler-exchange-dbinit.c
index cf35466c..34b68f8f 100644
--- a/src/exchange-tools/taler-exchange-dbinit.c
+++ b/src/exchange-tools/taler-exchange-dbinit.c
@@ -121,7 +121,9 @@ run (void *cls,
if (1 <
num_partitions)
{
- if (GNUNET_OK != plugin->setup_partitions (plugin->cls, num_partitions))
+ if (GNUNET_OK !=
+ plugin->setup_partitions (plugin->cls,
+ num_partitions))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Could not setup partitions. Dropping default ones again\n");
@@ -139,8 +141,9 @@ run (void *cls,
else if (1 <
num_foreign_servers)
{
- if (GNUNET_OK != plugin->setup_foreign_servers (plugin->cls,
- num_foreign_servers))
+ if (GNUNET_OK !=
+ plugin->setup_foreign_servers (plugin->cls,
+ num_foreign_servers))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Could not setup shards. Aborting\n");
diff --git a/src/exchangedb/common-0001.sql b/src/exchangedb/common-0001.sql
index 09698087..20fddd49 100644
--- a/src/exchangedb/common-0001.sql
+++ b/src/exchangedb/common-0001.sql
@@ -1583,7 +1583,7 @@ BEGIN
);
EXECUTE FORMAT(
- 'ALTER FOREIGN TABLE %I OWNER TO %L'
+ 'ALTER FOREIGN TABLE %I OWNER TO %I'
,source_table_name || '_' || shard_suffix
,local_user
);
@@ -1698,7 +1698,7 @@ LANGUAGE plpgsql
AS $$
BEGIN
- RAISE NOTICE 'Creating server %s', remote_host;
+ RAISE NOTICE 'Creating server %', remote_host;
EXECUTE FORMAT(
'CREATE SERVER IF NOT EXISTS %I '
@@ -1907,6 +1907,7 @@ BEGIN
,'taler-exchange-httpd'
);
END LOOP;
+
END
$$;
diff --git a/src/exchangedb/drop0001.sql b/src/exchangedb/drop0001.sql
index 36457851..ab0e7523 100644
--- a/src/exchangedb/drop0001.sql
+++ b/src/exchangedb/drop0001.sql
@@ -149,8 +149,9 @@ DROP FUNCTION IF EXISTS create_table_partition;
DROP FUNCTION IF EXISTS create_partitions;
DROP FUNCTION IF EXISTS detach_default_partitions;
DROP FUNCTION IF EXISTS drop_default_partitions;
-DROP FUNCTION IF EXISTS master_prepare_sharding;
+DROP FUNCTION IF EXISTS prepare_sharding;
DROP FUNCTION IF EXISTS create_foreign_table;
+DROP FUNCTION IF EXISTS create_foreign_servers;
DROP FUNCTION IF EXISTS create_shard_server;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: drop functions,
gnunet <=