Re: default localtimestamp at time zone

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: default localtimestamp at time zone
Дата
Msg-id 22323.1292516651@sss.pgh.pa.us
обсуждение исходный текст
Ответ на default localtimestamp at time zone  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Oddly, this doesn't work:
> create table test (x timestamp default localtimestamp at time zone 'UTC');
> ERROR:  42601: syntax error at or near "at"

> (Parentheses help.)

> The attached patch fixes it.  Is there any reason for this omission?

I'm not really thrilled about adding low-usage options to b_expr.  That
could back us into a corner later, by preventing b_expr from being used
in someplace where it'd be desirable.
        regards, tom lane


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

Предыдущее
От: Andrew Chernow
Дата:
Сообщение: Re: [GENERAL] queriing the version of libpq
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Complier warnings on mingw gcc 4.5.0