Re: BUG #14841: Remove TIME WITH TIME ZONE type

From: Eduardo Pérez Ureta <edpeur(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14841: Remove TIME WITH TIME ZONE type
Date: 2017-10-03 21:19:17
Message-ID: CAM7oS3GmtTpw1yg8q5=v5t1hJ3MRCefdhr4T+X4VdFTU+5i14Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Of course, this fix will not need to be included in any current supported
release.
But, would you remove the TIME WITH TIME ZONE type in a new major release?

What is the priority for PostgreSQL, standards conformance, or making a
useful product without broken features?

2017-10-03 19:50 GMT+00:00 David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>:

> On Tue, Oct 3, 2017 at 12:35 PM, <edpeur(at)gmail(dot)com> wrote:
>
>> The following bug has been logged on the website:
>>
>> Bug reference: 14841
>> Logged by: Eduardo Perez
>> Email address: edpeur(at)gmail(dot)com
>> PostgreSQL version: Unsupported/Unknown
>> Operating system: All
>> Description:
>>
>> Please, remove support for the TIME WITH TIME ZONE type as there are no
>> valid use cases for it and being available only calls for its misuse. By
>> removing it you may allow people to fix their applications.
>> https://dba.stackexchange.com/questions/187351/what-is-a-val
>> id-use-case-for-using-time-with-time-zone
>
>
> ​Actually, removing it would FORCE people to fix their applications;
> people are already allowed to fix their own applications.
>
> In any case this isn't a bug report - the software is working exactly as
> designed and, furthermore, to the letter of the specification to which it
> attempts to conform.
>
> The only thing I'd consider, if I felt mis-use of this was pervasive,
> would be converting the plain sentence on this topic to a callout "Note" to
> emphasize the risk. The risk of making standard-conforming theoretically
> broken applications actually broken outweighs removing a marginal foot-gun.
>
> David J.
>
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Eduardo Pérez Ureta 2017-10-03 21:19:46 Re: BUG #14842: TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIMEZONE should not be comparable
Previous Message Tom Lane 2017-10-03 20:38:43 Re: BUG #14842: TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIMEZONE should not be comparable