Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzVFQ-0000Ue-Ao for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Oct 2017 22:01:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dzVFP-0007IQ-M2 for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Oct 2017 22:01:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dzVFO-0007Hk-Pb for pgsql-bugs@postgresql.org; Tue, 03 Oct 2017 22:01:02 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzVFM-00024T-3Z for pgsql-bugs@postgresql.org; Tue, 03 Oct 2017 22:01:01 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id v93M0qN09333 for ; Tue, 3 Oct 2017 15:00:52 -0700 Subject: Re: BUG #14842: TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIMEZONE should not be comparable To: pgsql-bugs@postgresql.org References: <20171003195208.28557.28195@wrigleys.postgresql.org> <30437.1507063123@sss.pgh.pa.us> From: John R Pierce Message-ID: <406118d1-6ac7-d3ea-6382-28197329575b@hogranch.com> Date: Tue, 3 Oct 2017 15:00:47 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------773313BE896757E2B8A19AEF" Content-Language: en-US X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org This is a multi-part message in MIME format. --------------773313BE896757E2B8A19AEF Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 10/3/2017 2:54 PM, David G. Johnston wrote: > On Tue, Oct 3, 2017 at 2:19 PM, Eduardo Pérez Ureta >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 --------------773313BE896757E2B8A19AEF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
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> 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
--------------773313BE896757E2B8A19AEF--