Adds a comment

pull/7563/head
gurkanindibay 2024-03-25 19:06:51 +03:00
parent fbb38dd7ea
commit b0282e6219
1 changed files with 3 additions and 1 deletions

View File

@ -292,7 +292,9 @@ PreprocessAlterDatabaseStmt(Node *node, const char *queryString,
{ {
return NIL; return NIL;
} }
/* Since ALTER TABLE SET TABLESPACE statement is not supported */
/* inside a transaction block, we need to send the command to the */
/* main database directly to make it work */
if (!IsSetTablespaceStatement(stmt)) if (!IsSetTablespaceStatement(stmt))
{ {
EnsureCoordinator(); EnsureCoordinator();