Details coment for AppendBasicAlterDatabaseOptions

pull/7253/head
gindibay 2023-11-22 04:45:38 +03:00
parent cd8e4e61a2
commit 455620cead
1 changed files with 3 additions and 0 deletions

View File

@ -206,6 +206,9 @@ AppendAlterDatabaseSetTablespace(StringInfo buf, DefElem *def, char *dbname)
/* /*
* Appends basic ALTER DATABASE options to a string buffer. * 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, * This function takes a string buffer, a DefElem representing a database option,
* a boolean indicating whether the prefix "ALTER DATABASE <dbname> WITH" has * a boolean indicating whether the prefix "ALTER DATABASE <dbname> WITH" has