On Sunday, October 25, 2026, Kirill Reshke <[email protected]> wrote:
> Suggested fix: > > diff --git a/doc/src/sgml/event-trigger.sgml b/doc/src/sgml/event-trigger. > sgml > --- a/doc/src/sgml/event-trigger.sgml > +++ b/doc/src/sgml/event-trigger.sgml > @@ -150,7 +150,8 @@ > <para> > The <literal>table_rewrite</literal> event occurs just before a > table is > - rewritten by some actions of the commands <literal>ALTER > TABLE</literal> > - and <literal>ALTER TYPE</literal>. While other > + rewritten by some actions of the commands <literal>ALTER > TABLE</literal>, > + <literal>ALTER MATERIALIZED VIEW</literal> and <literal>ALTER > TYPE</literal>. > + While other > > Probably should also edit: …just before a table [or materialized view] is rewritten… This seems like it should be back-patched thru v15. I’d be a bit more wordy here to connect the unexpected alter type action to typed tables explicitly. David J.
