diff --git a/src/backend/distributed/commands/database.c b/src/backend/distributed/commands/database.c index 4082109b8..708cf7ebe 100644 --- a/src/backend/distributed/commands/database.c +++ b/src/backend/distributed/commands/database.c @@ -193,7 +193,7 @@ PreprocessGrantOnDatabaseStmt(Node *node, const char *queryString, /* - * Checks if the provided ALTER DATABASE statement is a SET TABLESPACE statement. + * IsSetTablespaceStatement checks if the provided ALTER DATABASE statement is a SET TABLESPACE statement. * * This function takes a Node pointer representing a AlterDatabaseStmt, and checks * if it is a SET TABLESPACE statement, which is used to move a table to a new diff --git a/src/backend/distributed/deparser/deparse_database_stmts.c b/src/backend/distributed/deparser/deparse_database_stmts.c index a8e609d82..05924177a 100644 --- a/src/backend/distributed/deparser/deparse_database_stmts.c +++ b/src/backend/distributed/deparser/deparse_database_stmts.c @@ -159,7 +159,7 @@ AppendAlterDatabaseSetTablespace(StringInfo buf, DefElem *def, char *dbname) /* - * Appends basic ALTER DATABASE options to a string buffer. + * AppendBasicAlterDatabaseOptions appends basic ALTER DATABASE options to a string buffer. * Basic options are those that can be appended to the ALTER DATABASE statement * after the "WITH" keyword.(i.e. ALLOW_CONNECTIONS, CONNECTION LIMIT, IS_TEMPLATE) * The tablespace option is not a basic option since it is defined with SET option.