Outdated replication protocol error? - Mailing list pgsql-hackers

From Jeff Davis
Subject Outdated replication protocol error?
Date
Msg-id de4bbf05b7cd94227841c433ea6ff71d2130c713.camel@j-davis.com
Whole thread Raw
Responses Re: Outdated replication protocol error?
List pgsql-hackers
Commit 5ee2197767 (about 4 years old) introduced the error:

  "IDENTIFY_SYSTEM has not been run before START_REPLICATION"

But it seems like running START_REPLICATION first works (at least in
the simple case).

We should either:

1. Document that IDENTIFY_SYSTEM must always be run before
START_REPLICATION, and always issue a WARNING if that's not done (an
ERROR might break existing applications); or

2. If the commit is out of date and no longer needed, or if it's easy
enough to fix, just remove the error (and Assert a valid
ThisTimeLineID).

Regards,
    Jeff Davis






pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Online checksums patch - once again
Next
From: Masahiko Sawada
Date:
Subject: Re: Key management with tests