diff --git a/src/backend/distributed/deparser/deparse_database_stmts.c b/src/backend/distributed/deparser/deparse_database_stmts.c index a5a5584af..5365f072d 100644 --- a/src/backend/distributed/deparser/deparse_database_stmts.c +++ b/src/backend/distributed/deparser/deparse_database_stmts.c @@ -238,7 +238,7 @@ AppendCreateDatabaseStmt(StringInfo buf, CreatedbStmt *stmt) foreach_ptr(option, stmt->options) { optionToStatement(buf, option, create_database_option_formats, lengthof( - create_database_option_formats)); + create_database_option_formats)); } } diff --git a/src/include/distributed/deparser.h b/src/include/distributed/deparser.h index 375fd8a8d..d47d3c18a 100644 --- a/src/include/distributed/deparser.h +++ b/src/include/distributed/deparser.h @@ -132,8 +132,8 @@ struct option_format extern void optionToStatement(StringInfo buf, DefElem *option, const struct - option_format *opt_formats, int - opt_formats_len); + option_format *opt_formats, int + opt_formats_len); /* forward declarations for deparse_statistics_stmts.c */