pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #14148: postgres does not support GST timezone
5+ messages / 4 participants
[nested] [flat]
* BUG #14148: postgres does not support GST timezone
@ 2016-05-18 16:36 ziyun.wang@ericsson.com
2016-05-18 17:24 ` Re: BUG #14148: postgres does not support GST timezone Tom Lane <tgl@sss.pgh.pa.us>
2016-05-18 17:31 ` Re: BUG #14148: postgres does not support GST timezone John R Pierce <pierce@hogranch.com>
0 siblings, 2 replies; 5+ messages in thread
From: ziyun.wang@ericsson.com @ 2016-05-18 16:36 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 14148
Logged by: ziyun wang
Email address: ziyun.wang@ericsson.com
PostgreSQL version: 9.3.13
Operating system: redhat 6.7
Description:
got error:
ERROR: invalid input syntax for type timestamp with time zone: "Wed May 18
09:40:25 GST 2016"
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: BUG #14148: postgres does not support GST timezone
2016-05-18 16:36 BUG #14148: postgres does not support GST timezone ziyun.wang@ericsson.com
@ 2016-05-18 17:24 ` Tom Lane <tgl@sss.pgh.pa.us>
2016-05-18 18:37 ` Re: BUG #14148: postgres does not support GST timezone Ziyun Audrey Wang <ziyun.wang@ericsson.com>
1 sibling, 1 reply; 5+ messages in thread
From: Tom Lane @ 2016-05-18 17:24 UTC (permalink / raw)
To: ziyun.wang@ericsson.com; +Cc: pgsql-bugs
ziyun.wang@ericsson.com writes:
> got error:
> ERROR: invalid input syntax for type timestamp with time zone: "Wed May 18
> 09:40:25 GST 2016"
You can adjust the set of zone abbreviations Postgres recognizes:
http://www.postgresql.org/docs/9.3/static/datetime-config-files.html
GST isn't in the default set because there are multiple possible meanings
according to the IANA timezone database.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: BUG #14148: postgres does not support GST timezone
2016-05-18 16:36 BUG #14148: postgres does not support GST timezone ziyun.wang@ericsson.com
2016-05-18 17:24 ` Re: BUG #14148: postgres does not support GST timezone Tom Lane <tgl@sss.pgh.pa.us>
@ 2016-05-18 18:37 ` Ziyun Audrey Wang <ziyun.wang@ericsson.com>
0 siblings, 0 replies; 5+ messages in thread
From: Ziyun Audrey Wang @ 2016-05-18 18:37 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs
Hi Tom
Thanks for the info.
By adding the GST definition it works now.
Thanks!
Best Regards
Audrey
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: May-18-16 1:24 PM
To: Ziyun Audrey Wang
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #14148: postgres does not support GST timezone
ziyun.wang@ericsson.com writes:
> got error:
> ERROR: invalid input syntax for type timestamp with time zone: "Wed
> May 18
> 09:40:25 GST 2016"
You can adjust the set of zone abbreviations Postgres recognizes:
http://www.postgresql.org/docs/9.3/static/datetime-config-files.html
GST isn't in the default set because there are multiple possible meanings according to the IANA timezone database.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: BUG #14148: postgres does not support GST timezone
2016-05-18 16:36 BUG #14148: postgres does not support GST timezone ziyun.wang@ericsson.com
@ 2016-05-18 17:31 ` John R Pierce <pierce@hogranch.com>
2016-05-18 18:23 ` Re: BUG #14148: postgres does not support GST timezone Ziyun Audrey Wang <ziyun.wang@ericsson.com>
1 sibling, 1 reply; 5+ messages in thread
From: John R Pierce @ 2016-05-18 17:31 UTC (permalink / raw)
To: ziyun.wang@ericsson.com; pgsql-bugs
On 5/18/2016 9:36 AM, ziyun.wang@ericsson.com wrote:
> got error:
> ERROR: invalid input syntax for type timestamp with time zone: "Wed May 18
> 09:40:25 GST 2016"
is that Gulf Standard Time, or South Georgia Time, or Guam Standard
Time, or what?
--
john r pierce, recycling bits in santa cruz
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: BUG #14148: postgres does not support GST timezone
2016-05-18 16:36 BUG #14148: postgres does not support GST timezone ziyun.wang@ericsson.com
2016-05-18 17:31 ` Re: BUG #14148: postgres does not support GST timezone John R Pierce <pierce@hogranch.com>
@ 2016-05-18 18:23 ` Ziyun Audrey Wang <ziyun.wang@ericsson.com>
0 siblings, 0 replies; 5+ messages in thread
From: Ziyun Audrey Wang @ 2016-05-18 18:23 UTC (permalink / raw)
To: John R Pierce <pierce@hogranch.com>; pgsql-bugs
Hi John
GST is Gulf Standard Time
It is also defined in /usr/pgsql-9.3/share/timezonesets/Asia.txt
GST 14400 # Gulf Standard Time
# (Asia/Dubai)
# (Asia/Muscat)
Thanks
Best Regards
Audrey
From: John R Pierce [mailto:pierce@hogranch.com]
Sent: May-18-16 1:32 PM
To: Ziyun Audrey Wang; pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #14148: postgres does not support GST timezone
On 5/18/2016 9:36 AM, ziyun.wang@ericsson.com<mailto:ziyun.wang@ericsson.com> wrote:
got error:
ERROR: invalid input syntax for type timestamp with time zone: "Wed May 18
09:40:25 GST 2016"
is that Gulf Standard Time, or South Georgia Time, or Guam Standard Time, or what?
--
john r pierce, recycling bits in santa cruz
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2016-05-18 18:37 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-05-18 16:36 BUG #14148: postgres does not support GST timezone ziyun.wang@ericsson.com
2016-05-18 17:24 ` Tom Lane <tgl@sss.pgh.pa.us>
2016-05-18 18:37 ` Ziyun Audrey Wang <ziyun.wang@ericsson.com>
2016-05-18 17:31 ` John R Pierce <pierce@hogranch.com>
2016-05-18 18:23 ` Ziyun Audrey Wang <ziyun.wang@ericsson.com>
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