Re: [PATCH] Support automatic sequence replication

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, Ajin Cherian <itsajin(at)gmail(dot)com>, "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Support automatic sequence replication
Date: 2026-03-13 07:39:48
Message-ID: 4DBDC84B-4E52-4D06-BFD8-1C1E47E40723@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Mar 13, 2026, at 15:12, Zhijie Hou (Fujitsu) <houzj(dot)fnst(at)fujitsu(dot)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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2026-03-13 07:54:35 Re: proposal: schema variables
Previous Message Chao Li 2026-03-13 07:29:31 Re: Use SMgrRelation instead of SMgrRelationData * in pgaio_io_set_target_smgr()