Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSDYu-0006iO-0l for pgsql-general@arkaria.postgresql.org; Fri, 22 Dec 2017 02:59:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSDYt-00047j-JI for pgsql-general@arkaria.postgresql.org; Fri, 22 Dec 2017 02:59:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eSDYt-00047Z-C5 for pgsql-general@lists.postgresql.org; Fri, 22 Dec 2017 02:59:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eSDYq-00084j-TO for pgsql-general@postgresql.org; Fri, 22 Dec 2017 02:59:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id vBM2xkaX009338; Thu, 21 Dec 2017 21:59:46 -0500 From: Tom Lane To: "David G. Johnston" cc: Victor Yegorov , "pgsql-general@postgresql.org" Subject: Re: Intersection or zero-column queries In-reply-to: References: <8055.1513910088@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Thu, 21 Dec 2017 19:42:36 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9336.1513911586.1@sss.pgh.pa.us> Date: Thu, 21 Dec 2017 21:59:46 -0500 Message-ID: <9337.1513911586@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "David G. Johnston" writes: > On Thursday, December 21, 2017, Tom Lane wrote: >> So yeah, it's wrong ... but personally I'm not terribly excited >> about fixing it. Maybe somebody else wants to; but what's the >> practical use? > How about just erroring out? Hm, yeah, inserting a FEATURE_NOT_SUPPORTED error might be an appropriate amount of effort. regards, tom lane