Re: Catalog_xmin is not advanced when a logical slot is lost

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Catalog_xmin is not advanced when a logical slot is lost
Дата
Msg-id 20221121141956.utp5labspysmf5id@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Catalog_xmin is not advanced when a logical slot is lost  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
Ответы Re: Catalog_xmin is not advanced when a logical slot is lost  (sirisha chamarthi <sirichamarthi22@gmail.com>)
Список pgsql-hackers
On 2022-Nov-21, Ashutosh Bapat wrote:

> Maybe. In that case pg_get_replication_slots() should be changed. We
> should use the same criteria to decide whether a slot is invalidated
> or not at all the places.

Right.

> I am a fan of stricter, all-assumption-covering conditions. In case we
> don't want to check restart_lsn, an Assert might be useful to validate
> our assumption.

Agreed.  I'll throw in an assert.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: createuser doesn't tell default settings for some options
Следующее
От: Alexander Pyhalov
Дата:
Сообщение: Re: CREATE INDEX CONCURRENTLY on partitioned index