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:38:13 +0000 (02:38 -0700)
commit3b25de62099cf954ea0ca1fe5d70dbc3fbb776c5
tree653af27fa7f3ee91a6ec99c384db3c761378173d
parent0cec9baa8816e1a646971de613e74170b2a6d0ee
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