Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkDlh-0002G2-3J for pgsql-bugs@arkaria.postgresql.org; Tue, 13 May 2014 14:33:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WkDlg-0005M8-E5 for pgsql-bugs@arkaria.postgresql.org; Tue, 13 May 2014 14:33:20 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkDlf-0005M1-MQ for pgsql-bugs@postgresql.org; Tue, 13 May 2014 14:33:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WkDlb-0004Ir-Ty for pgsql-bugs@postgresql.org; Tue, 13 May 2014 14:33:19 +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 s4DEXBxG020469; Tue, 13 May 2014 10:33:11 -0400 From: Tom Lane To: Craig Ringer cc: pgsql-bugs Subject: Re: hstore dump/restore bug in 9.3 In-reply-to: <53719A66.7000603@2ndquadrant.com> References: <53702D20.4070505@2ndquadrant.com> <53702F92.50404@2ndquadrant.com> <53703B71.2080807@2ndquadrant.com> <26582.1399866533@sss.pgh.pa.us> <53719A66.7000603@2ndquadrant.com> Comments: In-reply-to Craig Ringer message dated "Tue, 13 May 2014 12:07:02 +0800" Date: Tue, 13 May 2014 10:33:11 -0400 Message-ID: <20468.1399991591@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) 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 Craig Ringer writes: > On 05/12/2014 11:48 AM, Tom Lane wrote: >> Also, I think we still have some other dependencies on assumed >> operator names in eg. CASE. Cleaning up only NULLIF may not be a >> full solution. > GREATEST(..) and LEAST(..) already handle this, as does DISTINCT(...). Those are different in that they're comparing multiple values that are always of the same datatype, so that "look for the default btree opclass for that type" is a well-defined rule. NULLIF and CASE will certainly require additional thought. I think IN has the issue as well. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs