Re: synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication

shveta malik <shveta.malik@gmail.com>

From: shveta malik <shveta.malik@gmail.com>
To: Ashutosh Sharma <ashu.coek88@gmail.com>
Cc: "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>, Amit Kapila <amit.kapila16@gmail.com>, Ajin Cherian <itsajin@gmail.com>, SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, shveta malik <shveta.malik@gmail.com>
Date: 2026-06-05T10:02:41Z
Lists: pgsql-hackers

Attachments

On Thu, Jun 4, 2026 at 2:57 PM Ashutosh Sharma <ashu.coek88@gmail.com> wrote:
>
>
> So my preferred behavior would be:
>
> 1) duplicate names: normalize, do not error
> 2) after normalization, if num_sync > unique_slots: error immediately
>

Thanks for tha pathces. I have attached a patch (txt file) with a few
trivial changes, take it if you find the changes acceptable.

thanks
Shveta