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. */