diff --git a/src/backend/distributed/sql/downgrades/citus--11.0-1--10.2-4.sql b/src/backend/distributed/sql/downgrades/citus--11.0-1--10.2-4.sql index 5da5752ca..21f9107da 100644 --- a/src/backend/distributed/sql/downgrades/citus--11.0-1--10.2-4.sql +++ b/src/backend/distributed/sql/downgrades/citus--11.0-1--10.2-4.sql @@ -2,6 +2,7 @@ DROP FUNCTION pg_catalog.create_distributed_function(regprocedure, text, text, bool); +DROP FUNCTION pg_catalog.worker_partition_query_result(text, text, int, citus.distribution_type, text[], text[], boolean, boolean, boolean); #include "../udfs/worker_partition_query_result/9.2-1.sql" CREATE FUNCTION pg_catalog.master_apply_delete_command(text) diff --git a/src/test/regress/expected/multi_extension.out b/src/test/regress/expected/multi_extension.out index dc3f36d5e..8117e64e2 100644 --- a/src/test/regress/expected/multi_extension.out +++ b/src/test/regress/expected/multi_extension.out @@ -994,15 +994,14 @@ DROP TABLE e_transactions; ALTER EXTENSION citus UPDATE TO '10.2-4'; -- Should be empty result since upgrade+downgrade should be a no-op SELECT * FROM multi_extension.print_extension_changes(); - previous_object | current_object + previous_object | current_object --------------------------------------------------------------------- - | function worker_partition_query_result(text,text,integer,citus.distribution_type,text[],text[],boolean,boolean,boolean) SETOF record -(1 row) +(0 rows) -- Snapshot of state at 11.0-1 ALTER EXTENSION citus UPDATE TO '11.0-1'; SELECT * FROM multi_extension.print_extension_changes(); - previous_object | current_object + previous_object | current_object --------------------------------------------------------------------- function citus_disable_node(text,integer) void | function create_distributed_function(regprocedure,text,text) void | @@ -1025,7 +1024,8 @@ SELECT * FROM multi_extension.print_extension_changes(); | function worker_create_or_replace_object(text[]) boolean | function worker_drop_sequence_dependency(text) void | function worker_drop_shell_table(text) void -(21 rows) + | function worker_partition_query_result(text,text,integer,citus.distribution_type,text[],text[],boolean,boolean,boolean) SETOF record +(22 rows) DROP TABLE multi_extension.prev_objects, multi_extension.extension_diff; -- show running version