create type error message - Mailing list pgsql-hackers

From Jim Buttafuoco
Subject create type error message
Date
Msg-id 20060322235902.M83205@contactbda.com
Whole thread Raw
Responses Re: create type error message
List pgsql-hackers
# select version();                                         version
--------------------------------------------------------------------------------------------PostgreSQL 8.1.3 on
i686-pc-linux-gnu,compiled by GCC gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
 
(1 row)

simple example:
# create type a as (a text,b int);
CREATE TYPE
# create type a as (a text,b int);
ERROR:  relation "a" already exists

seems like  

ERROR: type "a" already exists
would be better.

Thanks
Jim



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Accessing schema data in information schema
Next
From: "Kevin Grittner"
Date:
Subject: Where does the time go?