create composite type error message - Mailing list pgsql-hackers

From Peter Eisentraut
Subject create composite type error message
Date
Msg-id 1263858589.24310.7.camel@vanquo.pezone.net
Whole thread Raw
List pgsql-hackers
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.

Attachment

pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Review: Patch: Allow substring/replace() to get/set bit values
Next
From: Takahiro Itagaki
Date:
Subject: Re: Pretty printed trigger in psql