| От | Tom Lane |
|---|---|
| Тема | Re: Date/time value 'current' no longer available |
| Дата | |
| Msg-id | 7140.1019943690@sss.pgh.pa.us обсуждение |
| Ответ на | Date/time value 'current' no longer available (Randall Perry <rgp@systame.com>) |
| Ответы |
Re: Date/time value 'current' no longer available
|
| Список | pgsql-general |
Randall Perry <rgp@systame.com> writes:
> I'm upgrading to 7.2 and saw this in the FAQ. Does this mean any value with
> current at the beginning no longer works -- i.e. current_timestamp?
No, it means the magic value 'current' is no longer available.
This has nothing to do with any SQL-specified behavior; it was a
poorly-considered hack that we inherited from Berkeley.
> If not, what's suggested in it's place?
'now' still works, but doesn't have quite the same behavior ('now' is
converted to a specific timestamp upon input).
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера