Re: BUG #14148: postgres does not support GST timezone

Поиск
Список
Период
Сортировка
От Ziyun Audrey Wang
Тема Re: BUG #14148: postgres does not support GST timezone
Дата
Msg-id 863714784A31A145844D361F189C6E6844C2D0BE@eusaamb107.ericsson.se
обсуждение исходный текст
Ответ на Re: BUG #14148: postgres does not support GST timezone  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы ALTER TABLE can NOT use set (OIDS=true)  (自己 <zoulx1982@163.com>)
Список 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]=20
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=20
> 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 a=
ccording to the IANA timezone database.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Ziyun Audrey Wang
Дата:
Сообщение: Re: BUG #14148: postgres does not support GST timezone
Следующее
От: 自己
Дата:
Сообщение: ALTER TABLE can NOT use set (OIDS=true)