drop functions
This commit is contained in:
parent
f596b27a97
commit
5880a8ec4f
@ -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");
|
||||
|
@ -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
|
||||
$$;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user