pgsql: Allow event trigger table_rewrite for ALTER MATERIALIZED VIEW

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Allow event trigger table_rewrite for ALTER MATERIALIZED VIEW
Дата
Msg-id E1oOC1v-0018dG-4o@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow event trigger table_rewrite for ALTER MATERIALIZED VIEW

This event can happen when using SET ACCESS METHOD, as the data files of
the materialized need a full refresh but this command tag was not
updated to reflect that.  The documentation is updated to track this
behavior.

Author: Onder Kalaci
Discussion: https://postgr.es/m/CACawEhXwHN3X34FiwoYG8vXR-oyUdrp7qcfRWSzS+NPahS5gSw@mail.gmail.com
Backpatch-through: 15

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/522ae011fa010a74cd74ef13036df5138751eee2

Modified Files
--------------
doc/src/sgml/event-trigger.sgml             | 2 +-
src/include/tcop/cmdtaglist.h               | 2 +-
src/test/regress/expected/event_trigger.out | 5 +++++
src/test/regress/sql/event_trigger.sql      | 5 +++++
4 files changed, 12 insertions(+), 2 deletions(-)


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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: pgsql: Fix assert in logicalmsg_desc
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Use SetInstallXLogFileSegmentActive() in more places in xlog.c