pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Replace alter_table.sql test usage of event triggers. 2+ messages / 1 participants [nested] [flat]
* pgsql: Replace alter_table.sql test usage of event triggers. @ 2019-10-16 09:48 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 2+ messages in thread From: Andres Freund @ 2019-10-16 09:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/ae5cae54ca6b1949829026b9fbb744c7f5a28bd5 Modified Files -------------- src/test/regress/expected/alter_table.out | 105 +++++++++++++++++++++--------- src/test/regress/sql/alter_table.sql | 71 ++++++++++++-------- 2 files changed, 116 insertions(+), 60 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Replace alter_table.sql test usage of event triggers. @ 2019-10-16 09:48 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 2+ messages in thread From: Andres Freund @ 2019-10-16 09:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3b25de62099cf954ea0ca1fe5d70dbc3fbb776c5 Modified Files -------------- src/test/regress/expected/alter_table.out | 105 +++++++++++++++++++++--------- src/test/regress/sql/alter_table.sql | 71 ++++++++++++-------- 2 files changed, 116 insertions(+), 60 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-10-16 09:48 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-10-16 09:48 pgsql: Replace alter_table.sql test usage of event triggers. Andres Freund <andres@anarazel.de> 2019-10-16 09:48 pgsql: Replace alter_table.sql test usage of event triggers. Andres Freund <andres@anarazel.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox