Re: Erro

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Erro
Дата
Msg-id 29851.1083647200@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Erro  (Aldrey Galindo <aldreygalindo@yahoo.com.br>)
Список pgsql-bugs
Aldrey Galindo <aldreygalindo@yahoo.com.br> writes:
> db=# create table teste (desc varchar(50));
> ERROR:  parser: parse error at or near "desc" at
> character 21

DESC is a reserved keyword, per the SQL specification.

If you really really want to name your column or table "desc", you can
double-quote the word.  But I'd suggest picking another name.
        regards, tom lane


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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: [GENERAL] cache lookup of relation 165058647 failed
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] cache lookup of relation 165058647 failed