diff --git a/src/test/regress/expected/seclabel.out b/src/test/regress/expected/seclabel.out index 455b9db10..ae6589734 100644 --- a/src/test/regress/expected/seclabel.out +++ b/src/test/regress/expected/seclabel.out @@ -121,7 +121,7 @@ DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx \c - - - :worker_1_port SET citus.log_remote_commands TO on; SET citus.grep_remote_commands = '%SECURITY LABEL%'; --- command from the worker node should be propagated to the master +-- command from the worker node should be propagated to the coordinator SELECT node_type, result FROM get_citus_tests_label_provider_labels('user1') ORDER BY node_type; node_type | result --------------------------------------------------------------------- @@ -148,9 +148,7 @@ SELECT node_type, result FROM get_citus_tests_label_provider_labels('"user 2"') worker_1 | {"label": "citus '!unclassified", "objtype": "role", "provider": "citus '!tests_label_provider"} (2 rows) -RESET citus.log_remote_commands; \c - - - :master_port -RESET citus.log_remote_commands; SELECT node_type, result FROM get_citus_tests_label_provider_labels('user1') ORDER BY node_type; node_type | result --------------------------------------------------------------------- @@ -207,8 +205,6 @@ SELECT node_type, result FROM get_citus_tests_label_provider_labels('user1') ORD worker_2 | {"label": "citus_classified", "objtype": "role", "provider": "citus '!tests_label_provider"} (3 rows) -RESET citus.enable_alter_role_propagation; -RESET citus.log_remote_commands; \c - - - :worker_2_port SET citus.log_remote_commands TO on; SET citus.grep_remote_commands = '%SECURITY LABEL%'; diff --git a/src/test/regress/sql/seclabel.sql b/src/test/regress/sql/seclabel.sql index 90c8139a1..d39e01183 100644 --- a/src/test/regress/sql/seclabel.sql +++ b/src/test/regress/sql/seclabel.sql @@ -67,7 +67,7 @@ SECURITY LABEL for "citus '!tests_label_provider" ON ROLE "user 2" IS 'citus_cla \c - - - :worker_1_port SET citus.log_remote_commands TO on; SET citus.grep_remote_commands = '%SECURITY LABEL%'; --- command from the worker node should be propagated to the master +-- command from the worker node should be propagated to the coordinator SELECT node_type, result FROM get_citus_tests_label_provider_labels('user1') ORDER BY node_type; SECURITY LABEL for "citus '!tests_label_provider" ON ROLE user1 IS 'citus_classified'; SELECT node_type, result FROM get_citus_tests_label_provider_labels('user1') ORDER BY node_type; @@ -75,10 +75,7 @@ SELECT node_type, result FROM get_citus_tests_label_provider_labels('user1') ORD RESET citus.log_remote_commands; SECURITY LABEL for "citus '!tests_label_provider" ON ROLE "user 2" IS 'citus ''!unclassified'; SELECT node_type, result FROM get_citus_tests_label_provider_labels('"user 2"') ORDER BY node_type; -RESET citus.log_remote_commands; - \c - - - :master_port -RESET citus.log_remote_commands; SELECT node_type, result FROM get_citus_tests_label_provider_labels('user1') ORDER BY node_type; SELECT node_type, result FROM get_citus_tests_label_provider_labels('"user 2"') ORDER BY node_type; @@ -95,8 +92,6 @@ SELECT node_type, result FROM get_citus_tests_label_provider_labels('"user 2"') SET citus.enable_alter_role_propagation TO off; SECURITY LABEL ON ROLE user1 IS 'citus_unclassified'; SELECT node_type, result FROM get_citus_tests_label_provider_labels('user1') ORDER BY node_type; -RESET citus.enable_alter_role_propagation; -RESET citus.log_remote_commands; \c - - - :worker_2_port SET citus.log_remote_commands TO on;