Prevent attempts to create/drop/rename bdr_supervisordb
authorCraig Ringer <craig@2ndquadrant.com>
Fri, 24 Apr 2015 06:17:39 +0000 (14:17 +0800)
committerCraig Ringer <craig@2ndquadrant.com>
Fri, 24 Apr 2015 06:41:24 +0000 (14:41 +0800)
commitb60cb7d79e98082832ba2f7dd2405566c568da8f
tree1b0982d31c29b40e66e3bfcd3df5d2fcecaf0159
parentac29fe853b931f9554c866c623d4035ef908a00f
Prevent attempts to create/drop/rename  bdr_supervisordb

When the BDR extension is loaded, BDR its self can create
bdr_supervisordb, but applications cannot. This gives users
a better error message if they try to drop it, too, e.g.

DROP DATABASE bdr_supervisordb;
ERROR:  The BDR extension reserves the database name bdr_supervisordb
for its own use
HINT:  Use a different database name
Makefile.in
bdr_commandfilter.c
expected/supervisordb.out [new file with mode: 0644]
sql/supervisordb.sql [new file with mode: 0644]