From: Matthijs van der Vleuten <postgresql@zr40.nl>
To: Michael Paquier <michael@paquier.xyz>
To: Bossart, Nathan <bossartn@amazon.com>
Cc: Dilip Kumar <dilipbalaut@gmail.com>
Cc: Vik Fearing <vik@postgresfriends.org>
Cc: Alexander Korotkov <aekorotkov@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Subject: Re: BUG #17220: ALTER INDEX ALTER COLUMN SET (..) with an optionless opclass makes index and table unusable
Date: Tue, 19 Oct 2021 08:48:05 +0200
Message-ID: <1ec02758-652e-48fa-afbf-c1d5ed5f06e2@www.fastmail.com> (raw)
In-Reply-To: <YW0mYDzpVhEjcbNp@paquier.xyz>
References: <17220-15d684c6c2171a83@postgresql.org>
<9b91d241-4d05-e5a4-67da-5b8acdb9a2f1@postgresfriends.org>
<E29EF33B-CA1A-4146-BFCF-C8EC08FB91A8@amazon.com>
<YWZViGJFJkrgBKwk@paquier.xyz>
<CAFiTN-t9JSHmCtOtB_28BmAXEantUC2=1OKV_irAPAoxnzPadA@mail.gmail.com>
<678CF71A-934B-4FD0-BF63-E41D795E41C9@amazon.com>
<YWeQ2UXvXUH/Gt4T@paquier.xyz>
<YW0mYDzpVhEjcbNp@paquier.xyz>
On Mon, Oct 18, 2021, at 09:46, Michael Paquier wrote:
> On Thu, Oct 14, 2021 at 11:07:21AM +0900, Michael Paquier wrote:
> Attached is the patch I am finishing with, that should go down to
> v13 (this is going to conflict on REL_13_STABLE, for sure).
>
> Thoughts?
The test case doesn't seem entirely correct to me? The index being dropped (btree_tall_tbl_idx2) doesn't exist.
Also, I don't believe this tests the case of dropping the index when it previously has been altered in this way.
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 using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: postgresql@zr40.nl, michael@paquier.xyz, bossartn@amazon.com, dilipbalaut@gmail.com, vik@postgresfriends.org, aekorotkov@gmail.com, pgsql-hackers@postgresql.org, robertmhaas@gmail.com
Subject: Re: BUG #17220: ALTER INDEX ALTER COLUMN SET (..) with an optionless opclass makes index and table unusable
In-Reply-To: <1ec02758-652e-48fa-afbf-c1d5ed5f06e2@www.fastmail.com>
* 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