Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WrprM-0006E1-OC for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Jun 2014 14:38:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WrprL-0005AU-Tk for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Jun 2014 14:38:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WrprL-0005AI-0H; Tue, 03 Jun 2014 14:38:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WrprG-0003yx-D4; Tue, 03 Jun 2014 14:38:36 +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 s53EbrDw012774; Tue, 3 Jun 2014 10:37:53 -0400 From: Tom Lane To: Andres Freund cc: Haribabu Kommi , Keith Fiske , "Daniel O'Connor" , "pgsql-bugs@postgresql.org" , "pgsql-hackers@postgresql.org" Subject: Re: [HACKERS] BUG #9652: inet types don't support min/max In-reply-to: <20140603142733.GD1220@awork2.anarazel.de> References: <20140321061735.28629.38477@wrigleys.postgresql.org> <20140603095139.GK24145@awork2.anarazel.de> <12477.1401805486@sss.pgh.pa.us> <20140603142733.GD1220@awork2.anarazel.de> Comments: In-reply-to Andres Freund message dated "Tue, 03 Jun 2014 16:27:33 +0200" Date: Tue, 03 Jun 2014 10:37:53 -0400 Message-ID: <12773.1401806273@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 Andres Freund writes: > On 2014-06-03 10:24:46 -0400, Tom Lane wrote: >> 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. Meh. I agree that new leakproof functions should be carefully reviewed, but I have precisely zero faith that this regression test will contribute to that. It hasn't even got a comment saying why changes here should receive any scrutiny; moreover, it's not in a file where changes would be likely to excite suspicion. (Probably it should be in opr_sanity, if we're going to have such a thing at all.) 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