From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Wright, George" <George(dot)Wright(at)infimatic(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Singapore time zone |
Date: | 2008-05-21 22:22:51 |
Message-ID: | 21928.1211408571@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
"Wright, George" <George(dot)Wright(at)infimatic(dot)com> writes:
> We seem to be having a time zone problem on a box configured for
> Singapore timezone. The OS is Suse10.2 PostgreSQL version is 8.1.5.
> Testing that timestamp string in PostgreSQL fails. It works ok with the
> other time zone.
It looks to me like 8.1 thinks SST is Swedish Summer Time (GMT+2),
so for your purposes that probably only "works" for rather small
values of "works". 8.1 doesn't know the SGT timezone abbreviation
at all.
In 8.1 there is no way to change this behavior short of compiling
your own version with a patched timezone abbreviations table.
You might consider updating to 8.2 or later, in which versions
the set of recognized TZ abbreviations is user-configurable.
FWIW, 8.4 and beyond will have SGT = GMT-8 in the default abbreviation
list.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | G. J. Walsh | 2008-05-21 22:39:17 | recreating tables from global files |
Previous Message | Wright, George | 2008-05-21 15:18:16 | Singapore time zone |