Re: Time as keyword

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Time as keyword
Дата
Msg-id 23697.1010501089@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Time as keyword  (Dwayne Miller <dwayne-miller@home.com>)
Список pgsql-hackers
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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: again on index usage
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: GETTIMEOFDAY_1ARG change