Re: Syntax error and reserved keywords

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Syntax error and reserved keywords
Дата
Msg-id CAFj8pRByRf_B8=Xua11T2eOfq48GrOkL9MPzw+0Tkah3cuxhnw@mail.gmail.com
обсуждение исходный текст
Ответ на Syntax error and reserved keywords  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: Syntax error and reserved keywords
Список pgsql-hackers
2012/3/14 Dimitri Fontaine <dimitri@2ndquadrant.fr>:
> Hi,
>
> A colleague came to me to express his surprise about this quite simple
> use case:
>
>  =# alter table toto add column user text;
>  ERROR:  syntax error at or near "user"
>  LINE 1: alter table toto add column user text;
>
> Is there a reason for us not to add an HINT: "user" is a reserved
> keyword or something like that, other than nobody having been interested
> in doing the work?

Probably nobody did this work. I am thinking so on current code, this
request is relatively simple implemented - and I agree so this can be
really nice feature.

Regards

Pavel

>
> Regards,
> --
> Dimitri Fontaine
> http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: CREATE FOREGIN TABLE LACUNA
Следующее
От: Euler Taveira
Дата:
Сообщение: Re: Syntax error and reserved keywords