From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add regression tests for REPLICA IDENTITY with dropped indexes
Date: Wed, 26 Aug 2020 11:48:49 +0000
Message-ID: <E1kAtv7-00031a-Rd@gemulon.postgresql.org> (raw)
Add regression tests for REPLICA IDENTITY with dropped indexes
REPLICA IDENTITY USING INDEX behaves the same way as NOTHING if the
associated index is dropped, even if there is a primary key that could
be used as a fallback for the changes generated. There have never been
any tests to cover such scenarios, so this commit closes the gap.
Author: Michael Paquier
Reviewed-by: Masahiko Sawada, Rahila Syed, Euler Taveira
Discussion: https://postgr.es/m/20200522035028.GO2355@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/fe7fd4e9613f58262d30782a34b01cc0c4cbbeb5
Modified Files
--------------
contrib/test_decoding/expected/ddl.out | 71 +++++++++++++++++++++++++++++++++-
contrib/test_decoding/sql/ddl.sql | 31 +++++++++++++++
2 files changed, 101 insertions(+), 1 deletion(-)
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: michael@paquier.xyz
Subject: Re: pgsql: Add regression tests for REPLICA IDENTITY with dropped indexes
In-Reply-To: <E1kAtv7-00031a-Rd@gemulon.postgresql.org>
References: <E1kAtv7-00031a-Rd@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