Re: [HACKERS] logical replication - possible remaining problem - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] logical replication - possible remaining problem
Date
Msg-id 20170607211803.i6jwgutcm3nahzla@alvherre.pgsql
Whole thread Raw
In response to [HACKERS] logical replication - possible remaining problem  (Erik Rijkers <er@xs4all.nl>)
Responses Re: [HACKERS] logical replication - possible remaining problem  (Erik Rijkers <er@xs4all.nl>)
List pgsql-hackers
Erik Rijkers wrote:

> Now, looking at the script again I am thinking that it would be reasonable
> to expect that after issuing
>    delete from pg_subscription;
> 
> the other 2 tables are /also/ cleaned, automatically, as a consequence.  (Is
> this reasonable? this is really the main question of this email).

I don't think it's reasonable to expect that the system recovers
automatically from what amounts to catalog corruption.  You should be
using the DDL that removes subscriptions instead.

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



pgsql-hackers by date:

Previous
From: "Regina Obe"
Date:
Subject: Re: [HACKERS] PostgreSQL 10 changes in exclusion constraints - did something change? CASE WHEN behavior oddity
Next
From: Kevin Grittner
Date:
Subject: Re: [HACKERS] PG10 transition tables, wCTEs and multiple operationson the same table