Re: [PATCH] Support automatic sequence replication

Chao Li <li.evan.chao@gmail.com>

From: Chao Li <li.evan.chao@gmail.com>
To: "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>, shveta malik <shveta.malik@gmail.com>, Ajin Cherian <itsajin@gmail.com>, "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>, Ashutosh Sharma <ashu.coek88@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-03-13T07:39:48Z
Lists: pgsql-hackers

> On Mar 13, 2026, at 15:12, Zhijie Hou (Fujitsu) <houzj.fnst@fujitsu.com> wrote:
> 
>> 6 - 0001
>> 
>> start_sequence_sync runs an infinite loop to periodically sync sequences. I
>> don’t it has an auto reconnect mechanism. When something wrong happens,
>> the sync worker will exit, how can the worker
> 
> The comment seems incomplete.

Ah… just discard it. I was initially worrying about how the worker reconnect to primary if the connection is broken. Then I realized that once the worker exits, it will be restarted, then reconnect. So I tended to delete the comment, but not sure why I didn’t delete it completely.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/







Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Don't include wait_event.h in pgstat.h

  2. Don't include proc.h in shm_mq.h

  3. Fix unsafe RTE_GROUP removal in simplify_EXISTS_query

  4. Add sequence synchronization for logical replication.