pgsql: Eliminate replication protocol error related to IDENTIFY_SYSTEM.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Eliminate replication protocol error related to IDENTIFY_SYSTEM.
Date: 2021-07-09 18:51:38
Message-ID: E1m1vb8-0001GI-1w@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2021-07-09 20:11:22 pgsql: libpq: Fix sending queries in pipeline aborted state
Previous Message Tom Lane 2021-07-09 18:16:01 pgsql: Un-break AIX build.