pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Abhishek Mishra <abhishek.mishra@globallogic.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problem with SGT (Singapore) timezone
Date: Thu, 24 Apr 2008 11:30:25 -0400
Message-ID: <29195.1209051025@sss.pgh.pa.us> (raw)
In-Reply-To: <1209026751.6110.193.camel@bob>
References: <1209026751.6110.193.camel@bob>

Abhishek Mishra <abhishek.mishra@globallogic.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



view thread (3+ messages)  latest in thread

Message-ID: <29195.1209051025@sss.pgh.pa.us>
Permalink:  ../29195.1209051025@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29195.1209051025@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, abhishek.mishra@globallogic.com
  Subject: Re: Problem with SGT (Singapore) timezone
  In-Reply-To: <29195.1209051025@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox