Re: Lock contention in TransactionIdIsInProgress()

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Tomáš Uko <uko(at)avast(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Lock contention in TransactionIdIsInProgress()
Date: 2016-10-08 12:23:41
Message-ID: CAB7nPqRXkX5yW3C8q6bX5L3hzJtWWiLFko-EOHxYP0d5hXkcKA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Oct 7, 2016 at 10:36 PM, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:
> On Wed, Oct 5, 2016 at 5:38 AM, Tomáš Uko <uko(at)avast(dot)com> wrote:
>> Hi Jeff,
>>
>>
>>
>> We have encountered same problem as you (in 9.5.4), it seems that so far it
>> hasn’t been ported back from 9.6, but if you take this commit and apply it
>> to 9.5 source codes, it seems to be working
>>
>> But anyway, does anybody knows plans about backporting this to 9.5 official
>> way?
>
> Won't happen. Only bugs get ported back, and performance enhancements
> generally don't qualify (in very exceptional cases they might but this
> issue is a routine performance enhancement). Basically you have to
> decide to update or stay with 9.5.

Another possibility is to patch and build yourself Postgres if you are
still willing to use that with a given version. But as that's actually
forking the upstream version, it won't be supported by community.
--
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jan de Visser 2016-10-08 14:11:53 Re: import_bytea function
Previous Message Thomas Kellerer 2016-10-08 06:46:24 Re: import_bytea function