Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1be1Yh-0000c6-UO for pgsql-hackers@arkaria.postgresql.org; Sun, 28 Aug 2016 14:59:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1be1Yh-0006yw-An for pgsql-hackers@arkaria.postgresql.org; Sun, 28 Aug 2016 14:59:39 +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 1be1Yc-0006uw-4f for pgsql-hackers@postgresql.org; Sun, 28 Aug 2016 14:59:34 +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.84_2) (envelope-from ) id 1be1YZ-0001SP-Gp for pgsql-hackers@postgresql.org; Sun, 28 Aug 2016 14:59:33 +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 u7SExSgM015532; Sun, 28 Aug 2016 10:59:28 -0400 From: Tom Lane To: Tomas Vondra cc: Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: Bogus sizing parameters in some AllocSetContextCreate calls In-reply-to: References: <21072.1472321324@sss.pgh.pa.us> <14922.1472395319@sss.pgh.pa.us> Comments: In-reply-to Tomas Vondra message dated "Sun, 28 Aug 2016 16:53:07 +0200" Date: Sun, 28 Aug 2016 10:59:28 -0400 Message-ID: <15531.1472396368@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) 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 Tomas Vondra writes: > I'm however pretty sure this will have absolutely no impact on profiles. Yeah, I do not believe that either. Also, I think that the intent of the existing code is to defend against bad parameters even in non-assert builds. Which might argue for turning these into test-and-elog rather than asserts. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers