Content-Length: 259031 | pFad | http://github.com/postgrespro/postgres_cluster/commit/88d8fd8f558f5ee9b332f869b9cc3624d428c638

D0 Prohibit creating/dropping database under multimaster · postgrespro/postgres_cluster@88d8fd8 · GitHub
Skip to content

Commit 88d8fd8

Browse files
knizhnikkelvich
authored andcommitted
Prohibit creating/dropping database under multimaster
1 parent b042dae commit 88d8fd8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

multimaster.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4915,6 +4915,11 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
49154915
skipCommand = true;
49164916
break;
49174917

4918+
case T_CreatedbStmt:
4919+
case T_DropdbStmt:
4920+
elog(ERROR, "Multimaster doesn't support creating and dropping databases");
4921+
break;
4922+
49184923
case T_CreateTableSpaceStmt:
49194924
case T_DropTableSpaceStmt:
49204925
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/88d8fd8f558f5ee9b332f869b9cc3624d428c638

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy