Re: [BUGS] BUG #14841: Remove TIME WITH TIME ZONE type - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: [BUGS] BUG #14841: Remove TIME WITH TIME ZONE type
Date
Msg-id CAKFQuwaBdiD7ZMVy61iG04NT-NH-RiFC4D3awUBxsDVby01VdA@mail.gmail.com
Whole thread Raw
In response to [BUGS] BUG #14841: Remove TIME WITH TIME ZONE type  (edpeur@gmail.com)
Responses Re: [BUGS] BUG #14841: Remove TIME WITH TIME ZONE type  (Eduardo Pérez Ureta <edpeur@gmail.com>)
List pgsql-bugs
On Tue, Oct 3, 2017 at 12:35 PM, <edpeur@gmail.com> wrote:
The following bug has been logged on the website:

Bug reference:      14841
Logged by:          Eduardo Perez
Email address:      edpeur@gmail.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-valid-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.

pgsql-bugs by date:

Previous
From: edpeur@gmail.com
Date:
Subject: [BUGS] BUG #14841: Remove TIME WITH TIME ZONE type
Next
From: edpeur@gmail.com
Date:
Subject: [BUGS] BUG #14842: TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIMEZONEshould not be comparable