create type error message

Поиск
Список
Период
Сортировка
От Jim Buttafuoco
Тема create type error message
Дата
Msg-id 20060322235902.M83205@contactbda.com
обсуждение исходный текст
Ответы Re: create type error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Accessing schema data in information schema
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Where does the time go?