Re: pg_createsubscriber: allow duplicate subscription names

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: Peter Smith <smithpb2250(at)gmail(dot)com>
Cc: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Subject: Re: pg_createsubscriber: allow duplicate subscription names
Date: 2026-09-05 03:24:25
Message-ID: CAGRkXqQko5SpLKFBHyjK2yEH9Pn3wmEQ5R4S7MSWDWOKU5am0w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Chao,

I reviewed v3 and also ran a real (non --dry-run) pg_createsubscriber
with the same --subscription name for two databases plus distinct
--replication-slot names. Both subscriptions were created in their
respective databases, the slots were created on the publisher, and
subsequent inserts replicated correctly. 040_pg_createsubscriber
passes as well.

v3 LGTM and -> Ready for commiter.

Thanks,
Shihao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Scott Ray 2026-09-05 03:25:05 Re: pg_xmin_horizon: a system view of everything pinning the xmin horizon
Previous Message Bharath Rupireddy 2026-09-05 03:11:00 Re: Support for 8-byte TOAST values, round two