pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14842: TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIMEZONE should not be comparable
Date: Tue, 3 Oct 2017 15:00:47 -0700
Message-ID: <406118d1-6ac7-d3ea-6382-28197329575b@hogranch.com> (raw)
In-Reply-To: <CAKFQuwZPmXux++yVkN312cGKfZst1kqFMEjQLjGQb0wj6GwFRQ@mail.gmail.com>
References: <20171003195208.28557.28195@wrigleys.postgresql.org>
	<CAKFQuwYGq5QnzVcy=gU-jsTGqyJ+1wtGEAW-ehYgsBMzs1EU_g@mail.gmail.com>
	<30437.1507063123@sss.pgh.pa.us>
	<CAM7oS3G9nfh3KeD5R=hMHHfSAnfZEUBFSPfzOnMPvRDKSFSs0A@mail.gmail.com>
	<CAKFQuwZPmXux++yVkN312cGKfZst1kqFMEjQLjGQb0wj6GwFRQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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@gmail.com 
> <mailto:edpeur@gmail.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

view thread (7+ messages)  latest in thread

Message-ID: <406118d1-6ac7-d3ea-6382-28197329575b@hogranch.com>
Permalink:  ../406118d1-6ac7-d3ea-6382-28197329575b@hogranch.com/
Also on:    postgresql.org/message-id/406118d1-6ac7-d3ea-6382-28197329575b@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: BUG #14842: TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIMEZONE should not be comparable
  In-Reply-To: <406118d1-6ac7-d3ea-6382-28197329575b@hogranch.com>
  References: <20171003195208.28557.28195@wrigleys.postgresql.org> <CAKFQuwYGq5QnzVcy=gU-jsTGqyJ+1wtGEAW-ehYgsBMzs1EU_g@mail.gmail.com> <30437.1507063123@sss.pgh.pa.us> <CAM7oS3G9nfh3KeD5R=hMHHfSAnfZEUBFSPfzOnMPvRDKSFSs0A@mail.gmail.com> <CAKFQuwZPmXux++yVkN312cGKfZst1kqFMEjQLjGQb0wj6GwFRQ@mail.gmail.com> <406118d1-6ac7-d3ea-6382-28197329575b@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox