Re: Time as keyword

Поиск
Список
Период
Сортировка
От Dwayne Miller
Тема Re: Time as keyword
Дата
Msg-id 3C3C593B.8000500@home.com
обсуждение исходный текст
Ответ на Time as keyword  (Dwayne Miller <dwayne-miller@home.com>)
Список pgsql-hackers
I tried to create table foo (t time, time time); and received an error 
something like
'Error parsing near time'

I'm on 7.2.b2

I'll upgrade and try again.


Tom Lane wrote:

>Dwayne Miller <dwayne-miller@home.com> writes:
>
>>Did time become a keyword in 7.2? 7.1.3 allowed it as a column name... 
>>7.2 rejects it.
>>
>
>It's always been a keyword, but it is "more reserved" than it used to
>be.  See
>
>http://developer.postgresql.org/docs/postgres/sql-keywords-appendix.html
>
>However, according to that list TIME is still allowed as a column name,
>and indeed I get:
>
>regression=# create table foo (f1 time, time time);
>CREATE
>
>So I'm not sure what you did.
>
>            regards, tom lane
>




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

Предыдущее
От: computertechnology
Дата:
Сообщение: Commercial: New Book!! PostgreSQL book is released into the market
Следующее
От: jeff.brickley@motorola.com (Jeff)
Дата:
Сообщение: Re: Bad interval external representation