Re: BUG #14231: logical replication wal sender process spins when using error traps in function

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
Cc: blake(at)rcmail(dot)com, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14231: logical replication wal sender process spins when using error traps in function
Date: 2016-07-06 21:23:33
Message-ID: CAM3SWZQV3NKPeWV4DxkPbEkEy2t7x4eeKC2BMohL22q8b8F-zA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Jul 6, 2016 at 2:00 PM, Andrew Gierth
<andrew(at)tao11(dot)riddles(dot)org(dot)uk> wrote:
> So I think this is primarily an artifact of doing so much retail
> palloc/pfree in a single memory context.

I wonder what the effect of commit
25c539233044c235e97fd7c9dc600fb5f08fe065, "Improve performance in
freeing memory contexts" might be here. In other words, maybe this is
not so bad on 9.6.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2016-07-06 21:26:00 Re: BUG #14231: logical replication wal sender process spins when using error traps in function
Previous Message Andrew Gierth 2016-07-06 21:00:46 Re: BUG #14231: logical replication wal sender process spins when using error traps in function