From c57d642408d6c8f9a5c006799e96e5ec1fe8be14 Mon Sep 17 00:00:00 2001 From: gurkanindibay Date: Tue, 30 Jan 2024 00:07:06 +0300 Subject: [PATCH] Merges with prev branches --- src/backend/distributed/commands/utility_hook.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/backend/distributed/commands/utility_hook.c b/src/backend/distributed/commands/utility_hook.c index 00ac61819..1aaf9a79d 100644 --- a/src/backend/distributed/commands/utility_hook.c +++ b/src/backend/distributed/commands/utility_hook.c @@ -124,18 +124,10 @@ typedef struct ObjectInfo */ ObjectType supportedObjectTypesForGrantStmt[] = { OBJECT_DATABASE }; -TwoPcStatementInfo twoPcSupportedStatements[] = { - { T_GrantRoleStmt, NULL, 0, false }, - { T_CreateRoleStmt, NULL, 0, true }, - { T_DropRoleStmt, NULL, 0, true }, - { T_AlterRoleStmt, NULL, 0, false }, - { T_GrantStmt, supportedObjectTypesForGrantStmt, - sizeof(supportedObjectTypesForGrantStmt) / sizeof(ObjectType), true } - static const NonMainDbDistributedStatementInfo NonMainDbSupportedStatements[] = { { T_GrantRoleStmt, false, NULL, 0 }, { T_CreateRoleStmt, true, NULL, 0 }, - { T_DropRoleStmt, true,NULL, 0 }, + { T_DropRoleStmt, false,NULL, 0 }, { T_AlterRoleStmt, false, NULL, 0 }, { T_GrantStmt, false, supportedObjectTypesForGrantStmt, sizeof(supportedObjectTypesForGrantStmt) / sizeof(ObjectType) }