[PATCH] Logical decoding of TRUNCATE

Поиск
Список
Период
Сортировка
От Marco Nenciarini
Тема [PATCH] Logical decoding of TRUNCATE
Дата
Msg-id 269bf0d2-6ac4-c032-6979-22aad6a9f5fb@2ndquadrant.it
обсуждение исходный текст
Ответы Re: [PATCH] Logical decoding of TRUNCATE  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

This patch implements support for TRUNCATE statements
in logical replication. The work has mainly done by Simon Riggs then
finished by me. Tests are written by me.

TRUNCATE is treated as a form of DELETE for the purpose of deciding
whether to publish, or not.

The "TRUNCATE behavior when session_replication_role = replica"[1] patch
is required from this patch to work correctly with tables referenced by
foreign keys.

[1] https://commitfest.postgresql.org/16/1447/

Regards,
Marco

--
Marco Nenciarini - 2ndQuadrant Italy
PostgreSQL Training, Services and Support
marco.nenciarini@2ndQuadrant.it | www.2ndQuadrant.it

Вложения

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

Предыдущее
От: "Tels"
Дата:
Сообщение: Re: TAP test module - PostgresClient
Следующее
От: Vladimir Svedov
Дата:
Сообщение: array_ndims never returns zero