Before attempting to create a composite type, check whether a type of that
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 20 Jan 2010 05:47:09 +0000 (05:47 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 20 Jan 2010 05:47:09 +0000 (05:47 +0000)
commiteb210ce85a6326412f2a35eb416d92801cfe997d
treea0e59e7c90027908b1c8fb2499c63cf3203678ce
parent60e2fdf092862c57cc0ed67fd928826e3f7432e5
Before attempting to create a composite type, check whether a type of that
name already exists, so we'd get an error message about a "type" instead
of about a "relation", because the composite type code shares code with
relation creation.
src/backend/commands/typecmds.c