Re: BUG #17220: ALTER INDEX ALTER COLUMN SET (..) with an optionless opclass makes index and table unusable

From: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
To: Vik Fearing <vik(at)postgresfriends(dot)org>, "postgresql(at)zr40(dot)nl" <postgresql(at)zr40(dot)nl>, Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: BUG #17220: ALTER INDEX ALTER COLUMN SET (..) with an optionless opclass makes index and table unusable
Date: 2021-10-13 02:20:29
Message-ID: 31196DBC-0356-493A-8692-4F333039C3D3@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On 10/12/21, 5:31 PM, "Vik Fearing" <vik(at)postgresfriends(dot)org> wrote:
> On 10/13/21 2:06 AM, Bossart, Nathan wrote:
>> Moving to pgsql-hackers(at)(dot)
>>
>> 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2021-10-13 03:42:00 Re: BUG #17220: ALTER INDEX ALTER COLUMN SET (..) with an optionless opclass makes index and table unusable
Previous Message Michael Paquier 2021-10-13 01:36:08 Re: pg_upgrade test for binary compatibility of core data types

Browse pgsql-hackers by date

  From Date Subject
Next Message houzj.fnst@fujitsu.com 2021-10-13 02:48:37 RE: Added schema level support for publication.
Previous Message Bossart, Nathan 2021-10-13 02:18:34 Re: should we allow users with a predefined role to access pg_backend_memory_contexts view and pg_log_backend_memory_contexts function?gr