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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy