Re: Why does this not work? (keyword 'TEXT')

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why does this not work? (keyword 'TEXT')
Дата
Msg-id 16263.1018385596@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Why does this not work? (keyword 'TEXT')  ("Johann Zuschlag" <zuschlag@online.de>)
Ответы Re: Why does this not work? (keyword 'TEXT')  ("Johann Zuschlag" <zuschlag@online.de>)
Список pgsql-general
"Johann Zuschlag" <zuschlag@online.de> writes:
> If I look thru the keywords table, I don't find 'TEXT', but:

That's because it's not a keyword.

> all-test=# create table text (textid varchar(10));
> ERROR:  type named text already exists

Every table has an associated datatype of the same name (to wit,
its row type).  So there's a naming conflict when the system tries
to create the row type for your table.

            regards, tom lane

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: more about pg_toast growth
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: table alias nor valid for delete