[PATCH] TAP test showing that pg_replication_slot_advance() works on standby

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема [PATCH] TAP test showing that pg_replication_slot_advance() works on standby
Дата
Msg-id CAGRY4nxSZFQpybu5+fgPDDhkiupUpwgvPuaW3o=bOHr08TxCPg@mail.gmail.com
обсуждение исходный текст
Ответы Re: [PATCH] TAP test showing that pg_replication_slot_advance() works on standby
Список pgsql-hackers
Hi all

The attached patch adds a test to the TAP logical decoding suite to show that pg_replication_slot_advance() works on a server in standby mode.

I didn't add a full demonstration of how to do failover with logical slots because we're still missing a way to "sync" a logical slot from a primary to a standby, or a way to directly create such a slot safely on a standby in a way that enforces a safe catalog_xmin etc.

You can't replay from the slot unless the server is promoted, so I don't test that.

I'm not sure if anyone's going to find it worth committing, but it's here so searchers can find it at least.
Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUG]: segfault during update
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [Patch] Optimize dropping of relation buffers using dlist