mirror of https://github.com/citusdata/citus.git
Fixes after merge problems
parent
df0f8036ef
commit
c5a75f53a9
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
static void AppendAlterDatabaseOwnerStmt(StringInfo buf, AlterOwnerStmt *stmt);
|
static void AppendAlterDatabaseOwnerStmt(StringInfo buf, AlterOwnerStmt *stmt);
|
||||||
static void AppendAlterDatabaseStmt(StringInfo buf, AlterDatabaseStmt *stmt);
|
static void AppendAlterDatabaseStmt(StringInfo buf, AlterDatabaseStmt *stmt);
|
||||||
|
static void AppendDefElemConnLimit(StringInfo buf, DefElem * def);
|
||||||
|
|
||||||
char *
|
char *
|
||||||
DeparseAlterDatabaseOwnerStmt(Node *node)
|
DeparseAlterDatabaseOwnerStmt(Node *node)
|
||||||
|
@ -86,7 +87,7 @@ AppendGrantOnDatabaseStmt(StringInfo buf, GrantStmt *stmt)
|
||||||
AppendGrantSharedSuffix(buf, stmt);
|
AppendGrantSharedSuffix(buf, stmt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
AppendDefElemConnLimit(StringInfo buf, DefElem * def)
|
AppendDefElemConnLimit(StringInfo buf, DefElem * def)
|
||||||
{
|
{
|
||||||
appendStringInfo(buf, " CONNECTION LIMIT %ld", (long int) defGetNumeric(def));
|
appendStringInfo(buf, " CONNECTION LIMIT %ld", (long int) defGetNumeric(def));
|
||||||
|
|
|
@ -6,7 +6,6 @@ set citus.grep_remote_commands = '%ALTER DATABASE%';
|
||||||
alter database regression ALLOW_CONNECTIONS false;
|
alter database regression ALLOW_CONNECTIONS false;
|
||||||
ERROR: ALLOW_CONNECTIONS is not supported
|
ERROR: ALLOW_CONNECTIONS is not supported
|
||||||
alter database regression with CONNECTION LIMIT 100;
|
alter database regression with CONNECTION LIMIT 100;
|
||||||
|
|
||||||
NOTICE: issuing ALTER DATABASE regression WITH CONNECTION LIMIT 100;
|
NOTICE: issuing ALTER DATABASE regression WITH CONNECTION LIMIT 100;
|
||||||
DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx
|
DETAIL: on server postgres@localhost:xxxxx connectionId: xxxxxxx
|
||||||
NOTICE: issuing ALTER DATABASE regression WITH CONNECTION LIMIT 100;
|
NOTICE: issuing ALTER DATABASE regression WITH CONNECTION LIMIT 100;
|
||||||
|
|
Loading…
Reference in New Issue