diff --git a/src/backend/distributed/commands/grant.c b/src/backend/distributed/commands/grant.c index 1f1477281..3cc18c155 100644 --- a/src/backend/distributed/commands/grant.c +++ b/src/backend/distributed/commands/grant.c @@ -70,6 +70,8 @@ PreprocessGrantStmt(Node *node, const char *queryString, return NIL; } + EnsureCoordinator(); + /* deparse the privileges */ if (grantStmt->privileges == NIL) {