mirror of https://github.com/citusdata/citus.git
Do not propagate GRANT ON SCHEMA from CREATE EXTENSION (#6175)
Co-authored-by: Marco Slot <marco.slot@gmail.com>pull/6204/head^2
parent
8ce12eb51f
commit
5160cafa82
|
@ -151,6 +151,11 @@ List *
|
|||
PreprocessGrantOnSchemaStmt(Node *node, const char *queryString,
|
||||
ProcessUtilityContext processUtilityContext)
|
||||
{
|
||||
if (!ShouldPropagate())
|
||||
{
|
||||
return NIL;
|
||||
}
|
||||
|
||||
GrantStmt *stmt = castNode(GrantStmt, node);
|
||||
Assert(stmt->objtype == OBJECT_SCHEMA);
|
||||
|
||||
|
|
Loading…
Reference in New Issue