Logical replication blocking alter/drop - Mailing list pgsql-general

From Mark Fletcher
Subject Logical replication blocking alter/drop
Date
Msg-id CAEO096omJNZsBwWF+OiHjQBoOMg9Vrhp0UPcj3WrdN5PhxxVBA@mail.gmail.com
Whole thread Raw
Responses Re: Logical replication blocking alter/drop
List pgsql-general
Hi All,

Postgres 9.6.5. We run several logical replication processes off our main postgres server. What we've noticed is that schema changes seem to block until we halt the logical replication processes. For example, I just did a 'DROP INDEX CONCURRENTLY' command, and it just sat there until I stopped the logical replication processes (I did not have to drop the logical replication slots).

Is this expected or are we perhaps doing something wrong?

Thanks,
Mark

pgsql-general by date:

Previous
From: Thomas Munro
Date:
Subject: Re: transaction wrap around
Next
From: jonathan vanasco
Date:
Subject: inserts failed because of primary key conflict, weird sequence issue. what could cause a reset?