From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Andres Freund <andres@2ndquadrant.com>
Cc: levertond@googlemail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8273: Assertion failure in 9.3 beta2 with serializable and savepoints
Date: Fri, 19 Jul 2013 20:06:57 -0400
Message-ID: <20130720000657.GI4130@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <20130719183516.GA13075@alap2.anarazel.de>
References: <E1UtbZu-0007xx-MH@wrigleys.postgresql.org>
<20130719174644.GE4130@eldon.alvh.no-ip.org>
<20130719183516.GA13075@alap2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Andres Freund wrote:
> On 2013-07-19 13:46:44 -0400, Alvaro Herrera wrote:
> > Sadly, this has performance implications, because what previously was
> > just an in-place check of bit flags has now become a function call.
>
> Well, the impact imo primarily comes from actually resolving the
> multixact, not from the function call itself... But I don't think we
> need to overly worried. That path is only entered if xmin is
> in-progress, so that shouldn't have too big implications.
True. I have pushed it, with this tweak:
> > Perhaps it'd be smart to optimize it a bit so that we first check the
> > flags, and only call the function if that fails.
>
> Sounds like a good idea to me. The duplicated amount of work by that
> should by fairly minimal.
Thanks.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
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: alvherre@2ndquadrant.com, andres@2ndquadrant.com, levertond@googlemail.com
Subject: Re: BUG #8273: Assertion failure in 9.3 beta2 with serializable and savepoints
In-Reply-To: <20130720000657.GI4130@eldon.alvh.no-ip.org>
References: <E1UtbZu-0007xx-MH@wrigleys.postgresql.org> <20130719174644.GE4130@eldon.alvh.no-ip.org> <20130719183516.GA13075@alap2.anarazel.de> <20130720000657.GI4130@eldon.alvh.no-ip.org>
* 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