Re: pgsql: Prevent invalidation of newly synced replication slots.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: pgsql: Prevent invalidation of newly synced replication slots.
Дата
Msg-id CAA4eK1JTZ1OexK8g1xa3V8NPitDyJ+cW8GsWaO7rQLP8kd2_Ng@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Prevent invalidation of newly synced replication slots.  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Wed, Jan 28, 2026 at 6:28 PM Robert Haas <robertmhaas@gmail.com> wrote:
>
> On Wed, Jan 28, 2026 at 7:35 AM Amit Kapila <amit.kapila16@gmail.com> wrote:
> > Does this fix/theory sound plausible?
>
> I wondered about this yesterday, too. I didn't actually understand how
> the existence of the background psql could be causing the failure, but
> I thought it might be. However, I couldn't figure out the correct
> incantation to get rid of it in my testing, as I thought I would need
> to detach the injection point first or something.
>

Yeah, it would be better to quit these sessions after the test is
complete because there are other two background sessions as well. I
used the method to quit these sessions as used in
\src\test\modules\test_misc\t\005_timeouts.pl. The attached passes for
me on both Linux and Windows (check on HEAD only as of now). I'll do
some more testing on back branches as well and push tomorrow morning
if there are no more comments.

--
With Regards,
Amit Kapila.

Вложения

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