pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Andrey Borodin <x4mmm@yandex-team.ru>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: chenhj <chjischj@163.com>
Cc: Teodor Sigaev <teodor@sigaev.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Connections hang indefinitely while taking a gin index's LWLock buffer_content lock
Date: Thu, 21 Mar 2019 18:06:06 -0300
Message-ID: <20190321210606.GA18716@alvherre.pgsql> (raw)
In-Reply-To: <CAPpHfdue+XdjscGY5kiWEyjTY2zzcortuZfPxGZb5=m24zBhGA@mail.gmail.com>

On 2019-Mar-21, Alexander Korotkov wrote:

> However, I think this still can be backpatched correctly.  We can
> determine whether xlog record data contains deleteXid by its size.
> See the attached patch.  I haven't test this yet.  I'm going to test
> it.  If OK, then push.

Wow, this is so magical that I think it merits a long comment explaining
what is going on.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (67+ messages)  latest in thread

Message-ID: <20190321210606.GA18716@alvherre.pgsql>
Permalink:  ../20190321210606.GA18716@alvherre.pgsql/
Also on:    postgresql.org/message-id/20190321210606.GA18716@alvherre.pgsql

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, aekorotkov@gmail.com, simon@2ndquadrant.com, andres@anarazel.de, x4mmm@yandex-team.ru, pg@bowt.ie, chjischj@163.com, teodor@sigaev.ru, pgsql-hackers@lists.postgresql.org
  Subject: Re: Connections hang indefinitely while taking a gin index's LWLock buffer_content lock
  In-Reply-To: <20190321210606.GA18716@alvherre.pgsql>

* 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