Re: Re: BUG #11014: Postgres can be put into an error state by setting invalid timezone.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Re: BUG #11014: Postgres can be put into an error state by setting invalid timezone.
Date: 2014-07-21 23:01:08
Message-ID: 28029.1405983668@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> This does seem kind of a harsh for a mis-understanding that one cannot
> specify a hours offset as a valid timezone identifier. ISTM the OP was
> trying to set the timezone to EDT by specifying a -04 hours and 00 minutes
> offset (- 04 00 = -0400 )...a 4-digit input like this shouldn't be
> considered a -400 hour GMT offset...

Perhaps so, but that's not the way it's been read by past PG releases.
Changing that would be in the nature of a feature addition, not a bug fix,
IMO. (In other words, if someone wants to do it, send in a patch ...)

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Johnston 2014-07-21 23:56:03 Re: Re: BUG #11014: Postgres can be put into an error state by setting invalid timezone.
Previous Message Tom Lane 2014-07-21 22:56:01 Re: BUG #11014: Postgres can be put into an error state by setting invalid timezone.