Backpatch regression tests added by 2d689babe3cb
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 20 May 2022 15:52:16 +0000 (17:52 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 20 May 2022 15:52:16 +0000 (17:52 +0200)
commit99867e7277229bb234f369a14f100148171d2276
tree6c6f22560e37b868cc5053d2a7513741b368e8c1
parent227c180efe125d6eeba34ab82539e71614f2d13d
Backpatch regression tests added by 2d689babe3cb

A new plpgsql test function was added in 14 and up to cover for a bugfix
that was not backpatchable.  We can add it to older versions as a way to
cover other bits of DDL event triggers, with an exception clause to
avoid the problematic corner case.

Originally authored by MichaĆ«l Paquier.

Backpatch: 10 through 13.

Discussion: https://postgr.es/m/202205201523.7m5jbfvyanmj@alvherre.pgsql
src/test/regress/expected/event_trigger.out
src/test/regress/sql/event_trigger.sql