Re: Proposal: GUC to control starting/stopping logical subscription workers - Mailing list pgsql-hackers

From SATYANARAYANA NARLAPURAM
Subject Re: Proposal: GUC to control starting/stopping logical subscription workers
Date
Msg-id CAHg+QDc4buCLnGheeXYsjFEc3UnCBe=momKQdt_xpJF-PCXqgQ@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: GUC to control starting/stopping logical subscription workers  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List pgsql-hackers
HI Bharat,
 

If I understand correctly, the end effect is similar to disabling all
subscriptions. Why not just add ALTER SUBSCRIPTION ... DISABLE for all
subscriptions in the failover work flow? Migration of logical
replication slots docs says so -
https://www.postgresql.org/docs/18/logical-replication-upgrade.html.

The scenarios I am talking in this case are no major version upgrade, but PITR and Standby promotion cases. 
Server is in read only mode (catalog cannot be updated) before promotion and subscriptions cannot be disabled.

 
--
Bharath Rupireddy
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations
Next
From: Melanie Plageman
Date:
Subject: Re: Incorrect logic in XLogNeedsFlush()