From d84e1c1835cfaba114e55331052bc0f33c4d3dbd Mon Sep 17 00:00:00 2001 From: Burak Velioglu Date: Thu, 13 Jan 2022 12:51:45 +0300 Subject: [PATCH] Fix style of UDF --- .../sql/udfs/worker_drop_distributed_table_only/11.0-1.sql | 4 ++-- .../sql/udfs/worker_drop_distributed_table_only/latest.sql | 4 ++-- src/test/regress/expected/multi_extension.out | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/backend/distributed/sql/udfs/worker_drop_distributed_table_only/11.0-1.sql b/src/backend/distributed/sql/udfs/worker_drop_distributed_table_only/11.0-1.sql index 91a0bb4f5..57c49de17 100644 --- a/src/backend/distributed/sql/udfs/worker_drop_distributed_table_only/11.0-1.sql +++ b/src/backend/distributed/sql/udfs/worker_drop_distributed_table_only/11.0-1.sql @@ -2,6 +2,6 @@ CREATE FUNCTION pg_catalog.worker_drop_distributed_table_only(table_name text) RETURNS VOID LANGUAGE C STRICT AS 'MODULE_PATHNAME', $$worker_drop_distributed_table_only$$; - + COMMENT ON FUNCTION worker_drop_distributed_table_only(table_name text) - IS 'drop the distributed table only without the metadata'; \ No newline at end of file + IS 'drop the distributed table only without the metadata'; diff --git a/src/backend/distributed/sql/udfs/worker_drop_distributed_table_only/latest.sql b/src/backend/distributed/sql/udfs/worker_drop_distributed_table_only/latest.sql index 91a0bb4f5..57c49de17 100644 --- a/src/backend/distributed/sql/udfs/worker_drop_distributed_table_only/latest.sql +++ b/src/backend/distributed/sql/udfs/worker_drop_distributed_table_only/latest.sql @@ -2,6 +2,6 @@ CREATE FUNCTION pg_catalog.worker_drop_distributed_table_only(table_name text) RETURNS VOID LANGUAGE C STRICT AS 'MODULE_PATHNAME', $$worker_drop_distributed_table_only$$; - + COMMENT ON FUNCTION worker_drop_distributed_table_only(table_name text) - IS 'drop the distributed table only without the metadata'; \ No newline at end of file + IS 'drop the distributed table only without the metadata'; diff --git a/src/test/regress/expected/multi_extension.out b/src/test/regress/expected/multi_extension.out index 7070d1c3d..956be7b35 100644 --- a/src/test/regress/expected/multi_extension.out +++ b/src/test/regress/expected/multi_extension.out @@ -508,6 +508,7 @@ NOTICE: create_citus_local_table is deprecated in favour of citus_add_local_tab (1 row) + RESET citus.enable_object_propagation; -- downgrade from 9.5-1 to 9.4-1 should fail as we have a citus local table ALTER EXTENSION citus UPDATE TO '9.4-1'; ERROR: citus local tables are introduced in Citus 9.5