From: Bossart, Nathan <bossartn@amazon.com>
To: Vik Fearing <vik@postgresfriends.org>
To: postgresql@zr40.nl <postgresql@zr40.nl>
To: Alexander Korotkov <aekorotkov@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: BUG #17220: ALTER INDEX ALTER COLUMN SET (..) with an optionless opclass makes index and table unusable
Date: Wed, 13 Oct 2021 02:20:29 +0000
Message-ID: <31196DBC-0356-493A-8692-4F333039C3D3@amazon.com> (raw)
In-Reply-To: <706b30e0-2bfc-7e1c-6149-a36ff7a5096a@postgresfriends.org>
References: <17220-15d684c6c2171a83@postgresql.org>
<9b91d241-4d05-e5a4-67da-5b8acdb9a2f1@postgresfriends.org>
<E29EF33B-CA1A-4146-BFCF-C8EC08FB91A8@amazon.com>
<706b30e0-2bfc-7e1c-6149-a36ff7a5096a@postgresfriends.org>
On 10/12/21, 5:31 PM, "Vik Fearing" <vik@postgresfriends.org> wrote:
> On 10/13/21 2:06 AM, Bossart, Nathan wrote:
>> Moving to pgsql-hackers@.
>>
>> At first glance, it looks like ALTER INDEX .. ALTER COLUMN ... SET
>> uses the wrong validation function. I've attached a patch where I've
>> attempted to fix that and added some tests.
>
> Ah, thank you. I was in the (slow) process of writing basically this
> exact patch. So I'll stop now and endorse yours.
Oops, sorry about that. Thanks for the endorsement.
Nathan
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: bossartn@amazon.com, vik@postgresfriends.org, postgresql@zr40.nl, aekorotkov@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: BUG #17220: ALTER INDEX ALTER COLUMN SET (..) with an optionless opclass makes index and table unusable
In-Reply-To: <31196DBC-0356-493A-8692-4F333039C3D3@amazon.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