Fixes after merge problems

pull/7181/head
gindibay 2023-09-12 06:35:41 +03:00
parent df0f8036ef
commit c5a75f53a9
2 changed files with 3 additions and 3 deletions

View File

@ -28,6 +28,7 @@
static void AppendAlterDatabaseOwnerStmt(StringInfo buf, AlterOwnerStmt *stmt);
static void AppendAlterDatabaseStmt(StringInfo buf, AlterDatabaseStmt *stmt);
static void AppendDefElemConnLimit(StringInfo buf, DefElem * def);
char *
DeparseAlterDatabaseOwnerStmt(Node *node)
@ -86,7 +87,7 @@ AppendGrantOnDatabaseStmt(StringInfo buf, GrantStmt *stmt)
AppendGrantSharedSuffix(buf, stmt);
}
static void
AppendDefElemConnLimit(StringInfo buf, DefElem * def)
{
appendStringInfo(buf, " CONNECTION LIMIT %ld", (long int) defGetNumeric(def));

View File

@ -6,7 +6,6 @@ set citus.grep_remote_commands = '%ALTER DATABASE%';
alter database regression ALLOW_CONNECTIONS false;
ERROR: ALLOW_CONNECTIONS is not supported
alter database regression with CONNECTION LIMIT 100;
NOTICE: issuing ALTER DATABASE regression WITH CONNECTION LIMIT 100;
DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx
NOTICE: issuing ALTER DATABASE regression WITH CONNECTION LIMIT 100;