mirror of https://github.com/citusdata/citus.git
Update src/backend/distributed/commands/utility_hook.c
Co-authored-by: Onur Tirtir <onurcantirtir@gmail.com>pull/7404/head
parent
9632798dc5
commit
42864d7069
|
@ -111,13 +111,10 @@ typedef struct NonMainDbDistributedStatementInfo
|
||||||
} NonMainDbDistributedStatementInfo;
|
} NonMainDbDistributedStatementInfo;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* twoPcSupportedStatements is a list of statements that are supported in 2PC.
|
* NonMainDbSupportedStatements is an array of statements that are supported
|
||||||
* The list is used to determine whether a statement is supported in 2PC and
|
* from non-main databases.
|
||||||
* whether it should be marked as distributed in 2PC.
|
|
||||||
* We use this array to avoid hardcoding the list of supported statements in
|
|
||||||
* multiple places.
|
|
||||||
*/
|
*/
|
||||||
const TwoPcStatementInfo twoPcSupportedStatements[] = {
|
static const NonMainDbDistributedStatementInfo NonMainDbSupportedStatements[] = {
|
||||||
{ T_GrantRoleStmt, false },
|
{ T_GrantRoleStmt, false },
|
||||||
{ T_CreateRoleStmt, true }
|
{ T_CreateRoleStmt, true }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue