Re: Time as keyword

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: Time as keyword
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA41EB491@m0114.s-mxs.net
обсуждение исходный текст
Ответ на Time as keyword  (Dwayne Miller <dwayne-miller@home.com>)
Ответы Re: Time as keyword  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > Did time become a keyword in 7.2? 7.1.3 allowed it as a column name...
> > 7.2 rejects it.
> 
> Yes. We now support SQL99 time and timestamp precision, which require
> that TIME(p) be a type specification. So there are parts of the grammar
> which cannot easily fit "time" anymore.

Isn't the grammar explicit enough to distinguish a value (in this case function 
call) from a type name ? It seems a type name will only appear in very specific 
contexts.
Imho it would be nice if we could allow "select timestamp(xxx);",
and this has been the umpteenth request in this regard, and 7.2 is not even 
released yet.

Andreas


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

Предыдущее
От: Daniel Kalchev
Дата:
Сообщение: Re: again on index usage
Следующее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: ECPG: include sqlca