Re: Time zone HADT timestamp syntax error in trigger

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Time zone HADT timestamp syntax error in trigger
Дата
Msg-id 25963.1241141077@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Time zone HADT timestamp syntax error in trigger  (John Smithus <smithus.john@gmail.com>)
Список pgsql-general
John Smithus <smithus.john@gmail.com> writes:
> [ 'HADT' is not recognized as a timezone abbreviation ]
> The server is running PostgreSQL 8.3.7 on an AMD64 Gentoo Linux
> machine. The system time zone is set to 'America/Adak' and datestyle
> is set to 'sql, mdy' in postgresql.conf.

Not every timezone abbreviation in the world is recognized by default.
You'll want to add HADT, as well as whatever the standard-time abbreviation
for that zone is, to Postgres's list of recognized abbreviations.  See
http://www.postgresql.org/docs/8.3/static/datetime-config-files.html

            regards, tom lane

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: recover corrupt DB?
Следующее
От: Erick Papadakis
Дата:
Сообщение: Re: retrieving primary key for row with MIN function