Re: Time zone HADT timestamp syntax error in trigger - Mailing list pgsql-general

From Tom Lane
Subject Re: Time zone HADT timestamp syntax error in trigger
Date
Msg-id 25963.1241141077@sss.pgh.pa.us
Whole thread Raw
In response to Time zone HADT timestamp syntax error in trigger  (John Smithus <smithus.john@gmail.com>)
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: recover corrupt DB?
Next
From: Erick Papadakis
Date:
Subject: Re: retrieving primary key for row with MIN function