pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James(王旭) <wangxu@gu360.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: couldn't drop subscription after upgrading via logical replication.
Date: Sat, 16 Jan 2021 09:43:11 +0800
Message-ID: <tencent_269B11641092C5FD07561477@qq.com> (raw)

Hello!


I upgraded my postgres from 11 to 13 using logical replication(publication in PG-11 and subscription in PG-13 of course).


Now I encountered this problem, I cannot drop the subscription in PG-13:
drop subscription sub_upgrade_to_13;
ERROR:&nbsp; could not drop the replication slot "sub_upgrade_to_13" on publisher
DETAIL:&nbsp; The error was: ERROR:&nbsp; replication slot "sub_upgrade_to_13" does not exist
The thing is that I already stoped my PG-11, there's no way I drop the replication slot "sub_upgrade_to_13" on publisher,
is there anything I can do to solve it?


Many thanks!

Message-ID: <tencent_269B11641092C5FD07561477@qq.com>
Permalink:  ../tencent_269B11641092C5FD07561477@qq.com/
Also on:    postgresql.org/message-id/tencent_269B11641092C5FD07561477@qq.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-general@postgresql.org
  Cc: wangxu@gu360.com
  Subject: Re: couldn't drop subscription after upgrading via logical replication.
  In-Reply-To: <tencent_269B11641092C5FD07561477@qq.com>
  References: <tencent_269B11641092C5FD07561477@qq.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