From: Michael Day <blake@rcmail.com>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Peter Geoghegan <pg@heroku.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org, Andrew Gierth <andrew@tao11.riddles.org.uk>
Subject: Re: BUG #14231: logical replication wal sender process spins when using error traps in function
Date: Mon, 13 Feb 2017 23:01:26 -0500
Message-ID: <BA3FE529-957D-4A37-AA27-2D7C0C83C719@rcmail.com> (raw)
In-Reply-To: <c97089b5-3a3c-701f-461e-8e46c9fb4a01@2ndquadrant.com>
References: <878txea5b4.fsf@news-spur.riddles.org.uk>
<20160706212600.GA649263@alvherre.pgsql>
<CAM3SWZSqBWmJEwu6-aFkN7XkPdybw_nrSfcjNtnJvq8m8-Rcig@mail.gmail.com>
<b9465329-acc1-8cc0-65e2-d3199a745e4b@2ndquadrant.com>
<8ec28b02-6ae5-369c-ec33-a7f59172c935@2ndquadrant.com>
<20160719052751.5arxjvgkr34q6iff@alap3.anarazel.de>
<d4a5bf3c-f03b-92be-9f34-a772406f1817@2ndquadrant.com>
<613a6533-1f20-d8eb-c852-414fd159c758@2ndquadrant.com>
<c97089b5-3a3c-701f-461e-8e46c9fb4a01@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Sorry to pester, but I’m not sure how bugs like this are tracked over longer periods of time. The discussion around possible fixes for this went above my pay grade, and I’m wondering whether a fix was ever released. If not, is there any way for me to know when it does get fixed other than reviewing release notes?
> On Jul 19, 2016, at 9:18 PM, Tomas Vondra <tomas.vondra@2ndquadrant.com> wrote:
>
> On 07/19/2016 06:22 PM, Tomas Vondra wrote:
>>
>> I don't expect to have much time to work on this in the next few weeks,
>> so if anyone wants to grab this and make it a proper patch, be my guest.
>
> Meh, who am I kidding. I've spent a bit more time hacking on this anyway. Attached is v3, fixing various thinkos and optimizations, checks in the code and especially docs explaining the main ideas. It's far from perfect but much better than the previous two versions.
>
> And it actually performs even better than the previous versions (about 2x faster on the 50k case).
>
> regards
>
> --
> Tomas Vondra http://www.2ndQuadrant.com
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
> <slab-reorder-buffer-v3.patch>
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: blake@rcmail.com, tomas.vondra@2ndquadrant.com, andres@anarazel.de, pg@heroku.com, alvherre@2ndquadrant.com, andrew@tao11.riddles.org.uk
Subject: Re: BUG #14231: logical replication wal sender process spins when using error traps in function
In-Reply-To: <BA3FE529-957D-4A37-AA27-2D7C0C83C719@rcmail.com>
References: <878txea5b4.fsf@news-spur.riddles.org.uk> <20160706212600.GA649263@alvherre.pgsql> <CAM3SWZSqBWmJEwu6-aFkN7XkPdybw_nrSfcjNtnJvq8m8-Rcig@mail.gmail.com> <b9465329-acc1-8cc0-65e2-d3199a745e4b@2ndquadrant.com> <8ec28b02-6ae5-369c-ec33-a7f59172c935@2ndquadrant.com> <20160719052751.5arxjvgkr34q6iff@alap3.anarazel.de> <d4a5bf3c-f03b-92be-9f34-a772406f1817@2ndquadrant.com> <613a6533-1f20-d8eb-c852-414fd159c758@2ndquadrant.com> <c97089b5-3a3c-701f-461e-8e46c9fb4a01@2ndquadrant.com> <BA3FE529-957D-4A37-AA27-2D7C0C83C719@rcmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox