Re: Time zone HADT timestamp syntax error in trigger

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Smithus <smithus(dot)john(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Time zone HADT timestamp syntax error in trigger
Date: 2009-05-01 01:24:37
Message-ID: 25963.1241141077@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John Smithus <smithus(dot)john(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Atkins 2009-05-01 01:43:03 Re: Mapping output from a SEQUENCE into something non-repeating/colliding but random-looking?
Previous Message Tomas Vondra 2009-05-01 01:19:08 08P01: unexpected EOF on client connection