Update src/backend/distributed/commands/database.c

Co-authored-by: Onur Tirtir <onurcantirtir@gmail.com>
pull/7253/head
Gürkan İndibay 2023-11-21 16:50:40 +03:00 committed by GitHub
parent c123fc38ec
commit dc93ca8913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -236,7 +236,8 @@ PreprocessAlterDatabaseStmt(Node *node, const char *queryString,
if (isSetTablespaceStatement(stmt)) if (isSetTablespaceStatement(stmt))
{ {
/* Set tablespace does not work inside a transaction.Therefore, we need to use /*
* Set tablespace does not work inside a transaction.Therefore, we need to use
* NontransactionalNodeDDLTask to run the command on the workers outside * NontransactionalNodeDDLTask to run the command on the workers outside
* the transaction block. * the transaction block.
*/ */