Re: pgsql: Restore replication protocol's duplicate command tags

Alvaro Herrera <alvherre@alvh.no-ip.org>

From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-hackers@lists.postgresql.org
Date: 2020-10-15T00:36:54Z
Lists: pgsql-hackers
On 2020-Oct-14, Alvaro Herrera wrote:

> Add a test case that shows the failure.  It might still succeed even
> without the patch when run on a fast enough server, but it suffices to
> show the bug in enough cases that it would be noticed in buildfarm.

Hm, this failed on sidewinder.  I think the "wait for catchup" stuff in
logical replication is broken; I added a wait for sync workers to go
away after the normal wait_for_catchup, but evidently it is not
sufficient even with that.




Commits

  1. Fix query in new test to check tables are synced

  2. Restore replication protocol's duplicate command tags

  3. Fix bogus completion tag usage in walsender