Replace alter_table.sql test usage of event triggers.
authorAndres Freund <andres@anarazel.de>
Wed, 16 Oct 2019 09:37:34 +0000 (02:37 -0700)
committerAndres Freund <andres@anarazel.de>
Wed, 16 Oct 2019 09:37:34 +0000 (02:37 -0700)
commitae5cae54ca6b1949829026b9fbb744c7f5a28bd5
tree761c11c6cfb6ebb40382b3e4006e1269ba81289c
parent1de4fd10922b96b6d90838181c59c1a45f8a95f6
Replace alter_table.sql test usage of event triggers.

The test in 93765bd956b added an event trigger to ensure that the
tested table rewrites do not get optimized away (as happened in the
past). But doing so would require running the tests in isolation, as
otherwise the trigger might also fire in concurrent sessions, causing
test failures there.

Reported-By: Tom Lane
Discussion: https://postgr.es/m/3328.1570740683@sss.pgh.pa.us
Backpatch: 12, just as 93765bd956b
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_table.sql