Re: Logical Replication of sequences

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Logical Replication of sequences
Дата
Msg-id CAA4eK1KagshVLj0pAee3WNT6WcUUt2kd=imfSPA1MwwZAY-diw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Logical Replication of sequences  (Peter Smith <smithpb2250@gmail.com>)
Список pgsql-hackers
On Thu, Oct 9, 2025 at 12:30 PM Peter Smith <smithpb2250@gmail.com> wrote:
>
> Something about all these ideas seems strange to me:
>
> I think the "ALTER SUBSCRIPTION sub REFRESH PUBLICATION" command has
> the word PUBLICATION in it because it's the PUBLICATION has changed
> (stuff added/removed), so we need to refresh it.
>
> OTOH, the synchronisation of *existing* sequences is different - this
> is more like the subscription saying "Just get me updated values for
> the sequences I already know about". Therefore, I don't think the word
> PUBLICATION is relevant here.
>

makes sense.

> ~~
>
> So my suggestion is very different.  Just this:
> "ALTER SUBSCRIPTION sub REFRESH SEQUENCES"
>

+1.

--
With Regards,
Amit Kapila.



В списке pgsql-hackers по дате отправления: