Re: Re:Re: Re: [BUGS] Return value error of‘to_timestamp’ - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Re:Re: Re: [BUGS] Return value error of‘to_timestamp’
Date
Msg-id 7406.1471441778@sss.pgh.pa.us
Whole thread Raw
In response to Re:Re: Re: [BUGS] Return value error of‘to_timestamp’  (甄明洋 <zhenmingyang@yeah.net>)
Responses Re:Re: Re:Re: Re: [BUGS] Return value error of‘to_timestamp’
List pgsql-bugs
=?UTF-8?B?55SE5piO5rSL?= <zhenmingyang@yeah.net> writes:
>    this looks like, the sign  plus and minus are inverted, i dont understand why?

Time zone names follow the POSIX convention (plus is west of Greenwich).
Timestamp I/O follows the ISO convention (plus is east of Greenwich).
Aren't standards fun?

See para starting "One should be wary ..." here:
https://www.postgresql.org/docs/9.5/static/datatype-datetime.html#DATATYPE-TIMEZONES

            regards, tom lane



pgsql-bugs by date:

Previous
From: 甄明洋
Date:
Subject: Re:Re: Re: [BUGS] Return value error of‘to_timestamp’
Next
From: Andres Freund
Date:
Subject: Re: BUG #14243: pg_basebackup failes by a STATUS_DELETE_PENDING file