Give a more user-friendly error message in situation where CREATE DATABASE

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 830c168e5ce40112433fcc4784415a1abacb3e57
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-10-17T20:47:21Z
Releases: 8.0.0
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.

Files