]> granicus.if.org Git - postgresql/commit
Give a more user-friendly error message in situation where CREATE DATABASE
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Oct 2004 20:47:21 +0000 (20:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Oct 2004 20:47:21 +0000 (20:47 +0000)
commit830c168e5ce40112433fcc4784415a1abacb3e57
tree2d7fdada045a8b7f35d0b8981f9efa775852079f
parentfae7ce83fefdb5de44ca7f364e3258aea8699edc
Give a more user-friendly error message in situation where CREATE DATABASE
specifies a new default tablespace and the template database already has
some tables in that tablespace.  There isn't any way to solve this fully
without modifying the clone database's pg_class contents, so for now the
best we can do is issue a better error message.
src/backend/commands/dbcommands.c
src/backend/commands/tablespace.c
src/include/commands/tablespace.h