Re: Reserved Key Words, Using "path" as a table name

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reserved Key Words, Using "path" as a table name
Дата
Msg-id 378.1050274589@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Reserved Key Words, Using "path" as a table name  (tom@tom-martin.de (Tom))
Список pgsql-patches
tom@tom-martin.de (Tom) writes:
> CREATE TABLE "path" (collumn_name int NULL);
> complaints with
> ERROR:  TypeCreate: type path already defined

This is not a matter of a reserved word, it's simply that tables have
associated types, and there's already a type named "path".

You could remove or rename the built-in type "path", but a better
solution would be to update to 7.3 so that your table doesn't have
to live in the same namespace as system-defined types.

            regards, tom lane


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

Предыдущее
От: Peter Jones
Дата:
Сообщение: Re: Modern C++ Interface
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: IPv6 address parsing for inet/cidr types (take II)