Allow event trigger table_rewrite for ALTER MATERIALIZED VIEW

Michael Paquier <michael@paquier.xyz>

Commit: 93f2349c36a7555a81d5e26edf9a0213fb3d323a
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-08-17T05:55:20Z
Releases: 16.0
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

Documentation touched

Discussion