Re: [PATCH] Support automatic sequence replication
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Ashutosh Sharma <ashu.coek88@gmail.com>
Cc: Ajin Cherian <itsajin@gmail.com>, shveta malik <shveta.malik@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-18T04:48:49Z
Lists: pgsql-hackers
On Tue, Feb 17, 2026 at 4:51 PM Ashutosh Sharma <ashu.coek88@gmail.com> wrote: > > > How about retaining ALTER SUBSCRIPTION ... REFRESH SEQUENCES command? > Yes, Shveta and myself also advocated the same for the upgrade case. > It can be useful in scenarios where automatic sequence replication > cannot be enabled, for example, due to the max_worker_processes limit > on the server preventing a new worker from being registered. Since > increasing max_worker_processes requires a server restart, which the > user may not want to perform immediately, this command would provide a > way to manually synchronize the sequences. > Good point. I think we won't be able to launch sync workers even when we reach max_logical_replication_workers limit. So, this is one more reason to retain the REFRESH SEQUENCES command. -- With Regards, Amit Kapila.
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Don't include wait_event.h in pgstat.h
- 868825aaeb40 19 (unreleased) cited
-
Don't include proc.h in shm_mq.h
- a2c89835f512 19 (unreleased) cited
-
Fix unsafe RTE_GROUP removal in simplify_EXISTS_query
- 77c7a17a6e5f 19 (unreleased) cited
-
Add sequence synchronization for logical replication.
- 5509055d6956 19 (unreleased) cited