pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix and document lock handling for in-memory replication slot da
Date: Tue, 12 Jun 2018 06:47:27 +0900
Message-ID: <20180611214727.GA2269@paquier.xyz> (raw)
In-Reply-To: <20180611164952.vmxdpdpirdtkdsz6@alap3.anarazel.de>
References: <E1fRxqK-0005pI-IA@gemulon.postgresql.org>
	<20180611164952.vmxdpdpirdtkdsz6@alap3.anarazel.de>

On Mon, Jun 11, 2018 at 09:49:52AM -0700, Andres Freund wrote:
> Same is true for the codepaths calling GetRedoRecPtr().

You are right.  I'll fix in a minute.  A first commit's stress make
things really harder to get right...

> I don't object to the general idea of adding locking - although the
> benefit are nearly guaranteed to be cosmetic - but this has the
> potential to make things worse.

Thanks.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (4+ messages)

Message-ID: <20180611214727.GA2269@paquier.xyz>
Permalink:  ../20180611214727.GA2269@paquier.xyz/
Also on:    postgresql.org/message-id/20180611214727.GA2269@paquier.xyz

 · 

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 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-committers@postgresql.org
  Cc: michael@paquier.xyz, andres@anarazel.de, pgsql-hackers@postgresql.org
  Subject: Re: pgsql: Fix and document lock handling for in-memory replication slot da
  In-Reply-To: <20180611214727.GA2269@paquier.xyz>
  References: <E1fRxqK-0005pI-IA@gemulon.postgresql.org> <20180611164952.vmxdpdpirdtkdsz6@alap3.anarazel.de> <20180611214727.GA2269@paquier.xyz>

* 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