pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: wise@wiredgeek.net
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15959: 'DROP EXTENSION pglogical' while an unused logical replication slot exists causes slot corruption
Date: Mon, 19 Aug 2019 09:12:25 +0200
Message-ID: <02366a7a-ffee-d0b3-80e3-d291b44693ce@2ndquadrant.com> (raw)
In-Reply-To: <15959-9540507f02e93026@postgresql.org>
References: <15959-9540507f02e93026@postgresql.org>

On 2019-08-14 23:35, PG Bug reporting form wrote:
> Short Description:
>   If you have a logical replication slot created (but not being actively
> consumed from) and you issue a 'DROP EXTENSION pglogical', it puts the
> database into a bad state. Later when the consumer for that slot comes in
> and tries to start replicating they will receive the following error:
> 
>   pg_recvlogical: unexpected termination of replication stream: ERROR: 
> could not find pg_class entry for 16387
> 
> Detailed Setup:
>   To replicate the issue fully, check out the code at
> https://github.com/diranged/postgres-logical-replication-pgclass-bug and
> follow the instructions.

What version of pglogical are you using?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (3+ messages)  latest in thread

Message-ID: <02366a7a-ffee-d0b3-80e3-d291b44693ce@2ndquadrant.com>
Permalink:  ../02366a7a-ffee-d0b3-80e3-d291b44693ce@2ndquadrant.com/
Also on:    postgresql.org/message-id/02366a7a-ffee-d0b3-80e3-d291b44693ce@2ndquadrant.com

 · 

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-bugs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, wise@wiredgeek.net
  Subject: Re: BUG #15959: 'DROP EXTENSION pglogical' while an unused logical replication slot exists causes slot corruption
  In-Reply-To: <02366a7a-ffee-d0b3-80e3-d291b44693ce@2ndquadrant.com>
  References: <15959-9540507f02e93026@postgresql.org> <02366a7a-ffee-d0b3-80e3-d291b44693ce@2ndquadrant.com>

* 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