default localtimestamp at time zone

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема default localtimestamp at time zone
Дата
Msg-id 1292515702.13736.2.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: default localtimestamp at time zone  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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?

(The patch also works in past releases, so it was not obviously a parser
problem.)

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] queriing the version of libpq
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [GENERAL] queriing the version of libpq