Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKvXQ-0008Tg-BJ for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Jul 2016 22:43:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bKvXP-0005yh-FD for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Jul 2016 22:43:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bKvXO-0005ya-V1 for pgsql-bugs@postgresql.org; Wed, 06 Jul 2016 22:43:23 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bKvXM-0000Hx-8e for pgsql-bugs@postgresql.org; Wed, 06 Jul 2016 22:43:21 +0000 Received: from localhost ([127.0.0.1]:16209 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtp (Exim 4.84 (FreeBSD)) (envelope-from ) id 1bKvXI-0002M6-S3; Wed, 06 Jul 2016 22:43:16 +0000 From: Andrew Gierth To: Peter Geoghegan Cc: blake@rcmail.com, pgsql-bugs Subject: Re: BUG #14231: logical replication wal sender process spins when using error traps in function In-Reply-To: (Peter Geoghegan's message of "Wed, 6 Jul 2016 14:23:33 -0700") Message-ID: <871t369ymp.fsf@news-spur.riddles.org.uk> References: <20160706185502.1426.28143@wrigleys.postgresql.org> <878txea5b4.fsf@news-spur.riddles.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Date: Wed, 06 Jul 2016 23:43:16 +0100 MIME-Version: 1.0 Content-Type: text/plain X-Pg-Spam-Score: -3.2 (---) 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 >>>>> "Peter" == Peter Geoghegan writes: >> So I think this is primarily an artifact of doing so much retail >> palloc/pfree in a single memory context. Peter> I wonder what the effect of commit Peter> 25c539233044c235e97fd7c9dc600fb5f08fe065, "Improve performance Peter> in freeing memory contexts" might be here. In other words, maybe Peter> this is not so bad on 9.6. It's just as bad on 9.6b2 -- Andrew (irc:RhodiumToad) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs