From 455620cead67d488608eb7ae32b513b67ddb52fe Mon Sep 17 00:00:00 2001 From: gindibay Date: Wed, 22 Nov 2023 04:45:38 +0300 Subject: [PATCH] Details coment for AppendBasicAlterDatabaseOptions --- src/backend/distributed/deparser/deparse_database_stmts.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backend/distributed/deparser/deparse_database_stmts.c b/src/backend/distributed/deparser/deparse_database_stmts.c index b870b3ff5..b0fe4f820 100644 --- a/src/backend/distributed/deparser/deparse_database_stmts.c +++ b/src/backend/distributed/deparser/deparse_database_stmts.c @@ -206,6 +206,9 @@ AppendAlterDatabaseSetTablespace(StringInfo buf, DefElem *def, char *dbname) /* * Appends basic ALTER DATABASE options to a string buffer. + * Basic options are those that can be appended to the ALTER DATABASE statement + * after the "WITH" keyword.(i.e. ALLOW_CONNECTIONS, CONNECTION LIMIT, IS_TEMPLATE) + * The tablespace option is not a basic option since it is defined with SET option. * * This function takes a string buffer, a DefElem representing a database option, * a boolean indicating whether the prefix "ALTER DATABASE WITH" has