]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Allow event trigger table_rewrite for ALTER MATERIALIZED VIEW
authorMichael Paquier <michael@paquier.xyz>
Wed, 17 Aug 2022 05:55:24 +0000 (14:55 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 17 Aug 2022 05:55:24 +0000 (14:55 +0900)
commit522ae011fa010a74cd74ef13036df5138751eee2
tree602718dc3da19861c9662bce6068eeb03ab8f09b
parentbe6aadf07d005c292ac05e4b80761f7962facb71
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
doc/src/sgml/event-trigger.sgml
src/include/tcop/cmdtaglist.h
src/test/regress/expected/event_trigger.out
src/test/regress/sql/event_trigger.sql