pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rewrite comments in replication slot advance implementation
Date: Thu, 19 Jul 2018 18:17:43 +0000
Message-ID: <E1fgDUl-0004qg-Q6@gemulon.postgresql.org> (raw)

Rewrite comments in replication slot advance implementation

The code added by 9c7d06d60680 was a bit obscure; clarify that by
rewriting the comments.  Lack of clarity has already caused bugs, so
it's a worthy goal.

Co-authored-by: Arseny Sher <a.sher@postgrespro.ru>
Co-authored-by: Michaël Paquier <michael@paquier.xyz>
Co-authored-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Petr Jelínek <petr.jelinek@2ndquadrant.com>
Discussion: https://postgr.es/m/87y3fgoyrn.fsf@ars-thinkpad

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1573995f55994ee04dd0d69481de17d662ad8e88

Modified Files
--------------
src/backend/replication/logical/logical.c |  5 ++-
src/backend/replication/slotfuncs.c       | 72 ++++++++++++++++++++-----------
2 files changed, 50 insertions(+), 27 deletions(-)



view thread (2+ messages)

Message-ID: <E1fgDUl-0004qg-Q6@gemulon.postgresql.org>
Permalink:  ../E1fgDUl-0004qg-Q6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fgDUl-0004qg-Q6@gemulon.postgresql.org

 · 

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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Rewrite comments in replication slot advance implementation
  In-Reply-To: <E1fgDUl-0004qg-Q6@gemulon.postgresql.org>
  References: <E1fgDUl-0004qg-Q6@gemulon.postgresql.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