Re: Problem with SGT (Singapore) timezone

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Abhishek Mishra <abhishek(dot)mishra(at)globallogic(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Problem with SGT (Singapore) timezone
Date: 2008-04-24 15:30:25
Message-ID: 29195.1209051025@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Abhishek Mishra <abhishek(dot)mishra(at)globallogic(dot)com> writes:
> I am using postgresql version 8.1.2. On using the SGT time zone on my
> machine, I get following error:

> ERROR:
> invalid input syntax for type timestamp: "Tue Jan 15 04:09:43.729011
> 2008 SGT"

8.1 has a hard-wired list of timezone abbreviations, and "SGT" isn't in it.

In 8.2 and later the list of abbreviations is configurable, see
timezone_abbreviations.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2008-04-24 15:39:26 Re: Problem with SGT (Singapore) timezone
Previous Message Antonis Antoniou 2008-04-24 10:15:55 moving from 7.4.13 to 8.0.14