diff --git a/src/backend/distributed/commands/table.c b/src/backend/distributed/commands/table.c index 0eefaba70..260b57ddc 100644 --- a/src/backend/distributed/commands/table.c +++ b/src/backend/distributed/commands/table.c @@ -178,6 +178,10 @@ PreprocessDropTableStmt(Node *node, const char *queryString, * * This function also processes CREATE TABLE ... PARTITION OF statements via * PostprocessCreateTableStmtPartitionOf function. + * + * Also CREATE TABLE ... INHERITS ... commands are filtered here. If the inherited + * table is a distributed table, this function errors out, as we currently don't + * support local tables inheriting a distributed table. */ void PostprocessCreateTableStmt(CreateStmt *createStatement, const char *queryString)