Re: [BUGS] BUG #14841: Remove TIME WITH TIME ZONE type

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [BUGS] BUG #14841: Remove TIME WITH TIME ZONE type
Дата
Msg-id CAKFQuwaBdiD7ZMVy61iG04NT-NH-RiFC4D3awUBxsDVby01VdA@mail.gmail.com
обсуждение исходный текст
Ответ на [BUGS] BUG #14841: Remove TIME WITH TIME ZONE type  (edpeur@gmail.com)
Ответы Re: [BUGS] BUG #14841: Remove TIME WITH TIME ZONE type
Список 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 по дате отправления:

Предыдущее
От: edpeur@gmail.com
Дата:
Сообщение: [BUGS] BUG #14841: Remove TIME WITH TIME ZONE type
Следующее
От: edpeur@gmail.com
Дата:
Сообщение: [BUGS] BUG #14842: TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIMEZONEshould not be comparable