Allow event trigger table_rewrite for ALTER MATERIALIZED VIEW
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/event-trigger.sgml | modified | +1 −1 |
| src/include/tcop/cmdtaglist.h | modified | +1 −1 |
| src/test/regress/expected/event_trigger.out | modified | +5 −0 |
| src/test/regress/sql/event_trigger.sql | modified | +5 −0 |
Documentation touched
Discussion
- Materialized view rewrite is broken when there is an event trigger 6 messages · 2022-08-09 → 2022-08-17