From: | Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com> |
---|---|
To: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> |
Cc: | Fabrice Chapuis <fabrice636861(at)gmail(dot)com>, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, Rahila Syed <rahilasyed90(at)gmail(dot)com>, Alexander Kukushkin <cyberdemn(at)gmail(dot)com>, "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(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: issue with synchronized_standby_slots |
Date: | 2025-10-23 09:28:11 |
Message-ID: | CANhcyEW79QFNOhT7HA9OMSXH7grW9CwNb4NrsQukW39g0JM07A@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, 23 Oct 2025 at 13:45, Hayato Kuroda (Fujitsu)
<kuroda(dot)hayato(at)fujitsu(dot)com> wrote:
>
> Dear Shlok,
>
> Thanks for updating the patch! Few comments.
>
> 1.
> You must separate patch for master and PG18, because ReplicationSlotValidateNameInternal()
> does not accept `bool allow_reserved_name` in the version.
>
> 2.
> Also, test for PG18 should not have the case which rejects the reserved name.
>
> 3.
> ```
> -- Parallel worker does not throw error during startup.
> SET min_parallel_table_scan_size TO 0;
> SET parallel_setup_cost TO 0;
> SET parallel_tuple_cost TO 0;
> ```
>
> According to contrib/pg_stat_statements/sql/parallel.sql, max_parallel_workers_per_gather
> should be also set. There is a possiblity that `make installcheck` is used and
> it has max_parallel_workers_per_gather=0.
>
> 4.
> ```
> foreach_ptr(char, name, *elemlist)
> ```
>
> You can add a comment atop here like:
> Iterate the list to validate each slot name.
>
Hi Kuroda-san,
Thanks for reviewing the patches.
I have addressed the comments and attached the updated version.
Thanks,
Shlok Kyal
Attachment | Content-Type | Size |
---|---|---|
v7_REL_17-0001-Remove-the-validation-from-the-GUC-check-h.txt | text/plain | 5.6 KB |
v7_HEAD-0001-Remove-the-validation-from-the-GUC-check-hoo.patch | application/octet-stream | 6.2 KB |
v7_REL_18-0001-Remove-the-validation-from-the-GUC-check-h.txt | text/plain | 5.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Shinya Kato | 2025-10-23 09:36:01 | Re: Add wal_fpi_bytes_[un]compressed to pg_stat_wal |
Previous Message | Chao Li | 2025-10-23 09:22:18 | Re: Tab completion for large objects |