From 4c9863c0fbc98864656f3eee543212197aff5eb1 Mon Sep 17 00:00:00 2001 From: gindibay Date: Thu, 9 Nov 2023 01:49:43 +0300 Subject: [PATCH] Fixes review comments --- src/backend/distributed/commands/database.c | 1 - src/backend/distributed/deparser/deparse_database_stmts.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/distributed/commands/database.c b/src/backend/distributed/commands/database.c index ce9467779..baf6cd424 100644 --- a/src/backend/distributed/commands/database.c +++ b/src/backend/distributed/commands/database.c @@ -256,7 +256,6 @@ PreprocessAlterDatabaseSetStmt(Node *node, const char *queryString, return NIL; } - AlterDatabaseSetStmt *stmt = castNode(AlterDatabaseSetStmt, node); EnsureCoordinator(); diff --git a/src/backend/distributed/deparser/deparse_database_stmts.c b/src/backend/distributed/deparser/deparse_database_stmts.c index e96015fdc..a0b9ea7ba 100644 --- a/src/backend/distributed/deparser/deparse_database_stmts.c +++ b/src/backend/distributed/deparser/deparse_database_stmts.c @@ -252,7 +252,7 @@ DeparseAlterDatabaseSetStmt(Node *node) /* - * Validates for if option is template, lc_type, locale or lc_collate, propagation will + * Validates for if option is template, lc_type, locale or lc_collate, propagation will * not be supported since template and strategy options are not stored in the catalog * and lc_type, locale and lc_collate options depends on template parameter. */