Re: BUG #14842: TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIMEZONE should not be comparable

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14842: TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIMEZONE should not be comparable
Date: 2017-10-03 22:00:47
Message-ID: 406118d1-6ac7-d3ea-6382-28197329575b@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 10/3/2017 2:54 PM, David G. Johnston wrote:
> On Tue, Oct 3, 2017 at 2:19 PM, Eduardo Pérez Ureta <edpeur(at)gmail(dot)com
> <mailto:edpeur(at)gmail(dot)com>>wrote:
>
> I did not know that the SQL standard was so broken. Maybe it is
> time to consider only following the SQL standard in its non-broken
> parts, like other SQL databases do.
>
>
> ​It has its quirks but the two you have fixated on seem easy enough to
> avoid.
>
> At this point we've already decided that being conforming is generally
> a virtue; especially since I'd assume that at least some "other SQL
> databases" also conform to these same rules.  Deciding to become more
> strict (as opposed to starting out that way) requires significant benefit.
>
>

IMHO, at *most* postgres could issue warnings on usage of sketchy
constructs.     I think emphasizing the warning in the documentation is
sufficient, however.

--
john r pierce, recycling bits in santa cruz

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Sean Chittenden 2017-10-03 23:11:57 Re: [PATCH] BUG #13416: Postgres =?utf-8?Q?>=3D_?=9.3 doesn't use optimized shared memory on Solaris anymore
Previous Message David G. Johnston 2017-10-03 21:54:34 Re: BUG #14842: TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIMEZONE should not be comparable