pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Replace alter_table.sql test usage of event triggers.
Date: Wed, 16 Oct 2019 09:48:40 +0000
Message-ID: <E1iKfv6-0002o5-W9@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)

Message-ID: <E1iKfv6-0002o5-W9@gemulon.postgresql.org>
Permalink:  ../E1iKfv6-0002o5-W9@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iKfv6-0002o5-W9@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Replace alter_table.sql test usage of event triggers.
  In-Reply-To: <E1iKfv6-0002o5-W9@gemulon.postgresql.org>
  References: <E1iKfv6-0002o5-W9@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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