pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Mark Fletcher <markf@corp.groups.io>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Logical replication blocking alter/drop
Date: Thu, 14 Dec 2017 07:38:37 -0300
Message-ID: <20171214103837.yovmfduoa2lovngc@alvherre.pgsql> (raw)
In-Reply-To: <CAEO096omJNZsBwWF+OiHjQBoOMg9Vrhp0UPcj3WrdN5PhxxVBA@mail.gmail.com>

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




view thread (2+ messages)

Message-ID: <20171214103837.yovmfduoa2lovngc@alvherre.pgsql>
Permalink:  ../20171214103837.yovmfduoa2lovngc@alvherre.pgsql/
Also on:    postgresql.org/message-id/20171214103837.yovmfduoa2lovngc@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: alvherre@alvh.no-ip.org, markf@corp.groups.io
  Subject: Re: Logical replication blocking alter/drop
  In-Reply-To: <20171214103837.yovmfduoa2lovngc@alvherre.pgsql>
  References: <CAEO096omJNZsBwWF+OiHjQBoOMg9Vrhp0UPcj3WrdN5PhxxVBA@mail.gmail.com> <20171214103837.yovmfduoa2lovngc@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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