Re: ERROR CODE

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: ERROR CODE
Дата
Msg-id Pine.LNX.4.21.0005011511410.389-100000@localhost.localdomain
обсуждение исходный текст
Ответ на ERROR CODE  (Ray Alba <ralba@dotsperinch.com>)
Список pgsql-general
Ray Alba writes:

> create table patienttype (
> id INT DEFAULT nextval ('category_seq'),
> parent id INT DEFAULT '0',
  ^^^^^^^^^
The system interprets this as field name `parent', datatype `id'. You need
to double quote the field name if you want spaces in it.

> type varchar(50));
>
> Here is the error? What is that all about?
> ERROR:  Unable to locate type name 'id' in catalog

It means there is no datatype 'id'.

--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



В списке pgsql-general по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql DATE
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: referencial integrity constraint bug in version 7.0 beta 5