| От | Thomas Lockhart |
|---|---|
| Тема | Re: Time as keyword |
| Дата | |
| Msg-id | 3C3B2593.881BA851@fourpalms.org обсуждение исходный текст |
| Ответ на | Time as keyword (Dwayne Miller <dwayne-miller@home.com>) |
| Список | 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.
You could/should use the SQL99 list of reserved words as a guide for
which keywords to *not* use, even though some of them are currently
accepted as, for example, column names. In the meantime, you can
double-quote the column name if you really need it to stay "time".
- Thomas
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера