create composite type error message

Started by Peter Eisentrautabout 16 years ago1 messageshackers
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

When you create a composite type that already exists, the error message
you get is about 'relation "foo" already exists'. While true, this can
be confusing, as you didn't plan to create a relation. Therefore, I
propose that we insert a snippet of code that is already used by the
other forms of type creation to check first whether a *type* with that
name exists.

Attachments:

create-composite-type.patchtext/x-patch; charset=UTF-8; name=create-composite-type.patchDownload+19-0