pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Logical replication blocking alter/drop
2+ messages / 2 participants
[nested] [flat]

* Logical replication blocking alter/drop
@ 2017-12-12 22:36  Mark Fletcher <markf@corp.groups.io>
  0 siblings, 1 reply; 2+ messages in thread

From: Mark Fletcher @ 2017-12-12 22:36 UTC (permalink / raw)
  To: 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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Logical replication blocking alter/drop
@ 2017-12-14 10:38  Alvaro Herrera <alvherre@alvh.no-ip.org>
  parent: Mark Fletcher <markf@corp.groups.io>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2017-12-14 10:38 UTC (permalink / raw)
  To: Mark Fletcher <markf@corp.groups.io>; +Cc: pgsql-general

Mark Fletcher wrote:
> 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).

What sort of logical replication are you running?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-12-14 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-12-12 22:36 Logical replication blocking alter/drop Mark Fletcher <markf@corp.groups.io>
2017-12-14 10:38 ` Alvaro Herrera <alvherre@alvh.no-ip.org>

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