Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2wrj-00046R-4b for pgsql-general@arkaria.postgresql.org; Mon, 12 Jul 2021 14:24:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m2wri-0005iJ-3j for pgsql-general@arkaria.postgresql.org; Mon, 12 Jul 2021 14:24:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2wrh-0005iA-Qw for pgsql-general@lists.postgresql.org; Mon, 12 Jul 2021 14:24:57 +0000 Received: from luna.openvistas.net ([207.158.15.156] helo=openvistas.net) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m2wre-0002xI-Mn for pgsql-general@postgresql.org; Mon, 12 Jul 2021 14:24:57 +0000 Received: (qmail 79309 invoked from network); 12 Jul 2021 14:24:51 -0000 Received: from unknown (HELO Mac-mini.local) (jross@154.27.106.60) de/crypted with TLSv1.3: AEAD-AES128-GCM-SHA256 [128/128] DN=none by mail.openvistas.net with ESMTPSA; 12 Jul 2021 14:24:51 -0000 Subject: Re: Removing a subscription that does not exist To: Kyotaro Horiguchi Cc: pgsql-general@postgresql.org References: <20210712.103801.793457058721716109.horikyota.ntt@gmail.com> From: Jeff Ross Message-ID: Date: Mon, 12 Jul 2021 08:24:50 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210712.103801.793457058721716109.horikyota.ntt@gmail.com> Content-Type: multipart/alternative; boundary="------------8410EB66A025FB1F2CE5903A" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------8410EB66A025FB1F2CE5903A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 7/11/21 7:38 PM, Kyotaro Horiguchi wrote: > At Fri, 9 Jul 2021 10:49:46 -0600, Jeff Ross wrote in >> Hello, >> >> I'm working with an RDS instance running 12 that has an old >> subscription that I can't seem to drop. > ... > Look at the subdbid field in the first query result. You were logging > into the databsae with OID=66754 and the subscription "metro" belongs > to the database 14313. The second command doesn't show metro which is > not of the current database. > > > > | What else can I try to remove this old non-functional subscription? >> ... > Thus you need to log in to the databse OID=14313 to manipulate on the > subsciption metro. > > regards. > That was it exactly. Once I connected to that database the subscription could be disabled, its slot name set to None and finally dropped. Thank you! Jeff --------------8410EB66A025FB1F2CE5903A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 7/11/21 7:38 PM, Kyotaro Horiguchi wrote:
At Fri, 9 Jul 2021 10:49:46 -0600, Jeff Ross <jross@openvistas.net> wrote in 
Hello,

I'm working with an RDS instance running 12 that has an old
subscription that I can't seem to drop.
...
Look at the subdbid field in the first query result.  You were logging
into the databsae with OID=66754 and the subscription "metro" belongs
to the database 14313.  The second command doesn't show metro which is
not of the current database.



| What else can I try to remove this old non-functional subscription?
...

      
Thus you need to log in to the databse OID=14313 to manipulate on the
subsciption metro.

regards.

That was it exactly.  Once I connected to that database the subscription could be disabled, its slot name set to None and finally dropped.

Thank you!

Jeff

--------------8410EB66A025FB1F2CE5903A--