Propose: Adding a '--enable-failover' option to 'pg_createsubscriber'

From: Ioseph Kim <pgsql-kr(at)postgresql(dot)kr>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Propose: Adding a '--enable-failover' option to 'pg_createsubscriber'
Date: 2025-12-10 09:03:48
Message-ID: 20251210090348.GA12580@postgresql.kr
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

A failover option has been added to the CREATE SUBSCRITION command, but this functionality isn't easily accessible using the pg_createsubscriber tool.

Subscriptions created using pg_createsubscriber must be configured for failover via an alter operation.

To address this issue, we've added a simple --enable-failover option to the pg_createsubscriber tool.

This patch is simple. It doesn't handle exceptions or provide any TAP test code.

Please review this and we hope the development team will refine it further.

ioseph

Attachment Content-Type Size
0001-Adding-a-enable-failover-option-to-pg_createsubscrib.patch text/x-diff 5.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergey Soloviev 2025-12-10 09:08:21 Re: Introduce Index Aggregate - new GROUP BY strategy
Previous Message jian he 2025-12-10 08:57:09 Re: CAST(... ON DEFAULT) - WIP build on top of Error-Safe User Functions