Apply suggestions from code review

Co-authored-by: Onur Tirtir <onurcantirtir@gmail.com>
pull/7240/head
Gürkan İndibay 2023-11-13 14:56:24 +03:00 committed by GitHub
parent 1a80181a9c
commit 8728871cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ PreprocessCreateDatabaseStmt(Node *node, const char *queryString,
/* /*
* PostprocessCreatedbStmt is executed after the statement is applied to the local * PostprocessCreateDatabaseStmt is executed after the statement is applied to the local
* postgres instance. In this stage we can prepare the commands that need to be run on * postgres instance. In this stage we can prepare the commands that need to be run on
* all workers to create the database. Since the CREATE DATABASE statement gives error * all workers to create the database. Since the CREATE DATABASE statement gives error
* in a transaction block, we need to use NontransactionalNodeDDLTaskList to send the * in a transaction block, we need to use NontransactionalNodeDDLTaskList to send the
@ -324,7 +324,7 @@ PostprocessCreateDatabaseStmt(Node *node, const char *queryString)
/* /*
* PostprocessAlterDatabaseStmt is executed after the statement is applied to the local * PreprocessDropDatabaseStmt is executed after the statement is applied to the local
* postgres instance. In this stage we can prepare the commands that need to be run on * postgres instance. In this stage we can prepare the commands that need to be run on
* all workers to drop the database. Since the DROP DATABASE statement gives error in * all workers to drop the database. Since the DROP DATABASE statement gives error in
* transaction context, we need to use NontransactionalNodeDDLTaskList to send the * transaction context, we need to use NontransactionalNodeDDLTaskList to send the