Merge pull request #4894 from citusdata/add-comment-to-postprocess-create-table

Update func comment for PostprocessCreateTableStmt
pull/4872/head^2
Ahmet Gedemenli 2021-04-10 20:03:20 +03:00 committed by GitHub
commit a1a394dbc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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)