Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wrpgm-0005fp-0L for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Jun 2014 14:27:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wrpgl-0001Jc-Fl for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Jun 2014 14:27:43 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wrpgk-0001Ij-HZ; Tue, 03 Jun 2014 14:27:42 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wrpgg-0003XS-Ux; Tue, 03 Jun 2014 14:27:40 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 1C3844F0001; Tue, 3 Jun 2014 16:27:37 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-6.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p5DDC6A0F.dip0.t-ipconnect.de [93.220.106.15]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id C30A14E8003; Tue, 3 Jun 2014 16:27:33 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id 46351100901; Tue, 3 Jun 2014 16:27:33 +0200 (CEST) Date: Tue, 3 Jun 2014 16:27:33 +0200 From: Andres Freund To: Tom Lane Cc: Haribabu Kommi , Keith Fiske , Daniel O'Connor , "pgsql-bugs@postgresql.org" , "pgsql-hackers@postgresql.org" Subject: Re: [BUGS] BUG #9652: inet types don't support min/max Message-ID: <20140603142733.GD1220@awork2.anarazel.de> References: <20140321061735.28629.38477@wrigleys.postgresql.org> <20140603095139.GK24145@awork2.anarazel.de> <12477.1401805486@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12477.1401805486@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-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2014-06-03 10:24:46 -0400, Tom Lane wrote: > Andres Freund writes: > > I didn't reall look at the patch, but it very much looks to me like that > > query result could use the \a\t treatment that rules.sql and > > sanity_check.sql got. It's hard to see the actual difference > > before/after the patch. > > I'll patch that now, to reduce the likelihood of changes there causing > > conflicts for more people. > > Personally, I would wonder why the regression tests contain such a query > in the first place. It seems like nothing but a major maintenance PITA. I haven't added it, but it seems appropriate in that specific case. The number of leakproof functions should be fairly small and every addition should be carefully reviewed... I am e.g. not sure that it's a good idea to declare network_smaller/greater as leakproof - but it's hard to catch that on the basic of pg_proc.h alone. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers