From 8728871cc313f29162892b84caec24c9a94fbe4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrkan=20=C4=B0ndibay?= Date: Mon, 13 Nov 2023 14:56:24 +0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Onur Tirtir --- src/backend/distributed/commands/database.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/distributed/commands/database.c b/src/backend/distributed/commands/database.c index 2d0a2ce16..07cfda805 100644 --- a/src/backend/distributed/commands/database.c +++ b/src/backend/distributed/commands/database.c @@ -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 * 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 @@ -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 * all workers to drop the database. Since the DROP DATABASE statement gives error in * transaction context, we need to use NontransactionalNodeDDLTaskList to send the