pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Eliminate replication protocol error related to IDENTIFY_SYSTEM.
Date: Fri, 09 Jul 2021 18:51:38 +0000
Message-ID: <E1m1vb8-0001GI-1w@gemulon.postgresql.org> (raw)

Eliminate replication protocol error related to IDENTIFY_SYSTEM.

The requirement that IDENTIFY_SYSTEM be run before START_REPLICATION
was both undocumented and unnecessary. Remove the error and ensure
that ThisTimeLineID is initialized in START_REPLICATION.

Elect not to backport because this requirement was expected behavior
(even if inconsistently enforced), and is not likely to cause any
major problem.

Author: Jeff Davis
Reviewed-by: Andres Freund
Discussion: https://postgr.es/m/de4bbf05b7cd94227841c433ea6ff71d2130c713.camel%40j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8e7811e952b4e0993330f7ac1fb1448a1ca69b9a

Modified Files
--------------
src/backend/replication/walsender.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)



Message-ID: <E1m1vb8-0001GI-1w@gemulon.postgresql.org>
Permalink:  ../E1m1vb8-0001GI-1w@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1m1vb8-0001GI-1w@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: jdavis@postgresql.org
  Subject: Re: pgsql: Eliminate replication protocol error related to IDENTIFY_SYSTEM.
  In-Reply-To: <E1m1vb8-0001GI-1w@gemulon.postgresql.org>
  References: <E1m1vb8-0001GI-1w@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