pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vik Fearing <vik@postgresfriends.org>
To: postgresql@zr40.nl, Alexander Korotkov <aekorotkov@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17220: ALTER INDEX ALTER COLUMN SET (..) with an optionless opclass makes index and table unusable
Date: Mon, 11 Oct 2021 20:03:13 +0200
Message-ID: <9b91d241-4d05-e5a4-67da-5b8acdb9a2f1@postgresfriends.org> (raw)
In-Reply-To: <17220-15d684c6c2171a83@postgresql.org>
References: <17220-15d684c6c2171a83@postgresql.org>

On 10/11/21 5:25 PM, PG Bug reporting form wrote:
> 
> User 'musttu' on IRC reported the following bug: After running "ALTER INDEX
> some_idx ALTER COLUMN expr SET (n_distinct=100)", the index and table become
> unusable. All further statements involving the table result in: "ERROR: 
> operator class text_ops has no options".
> 
> They reported this on the RDS version of 13.3, but I've been able to
> reproduce this on Debian with 13.4 and 14.0. It does not reproduce on 12.8,
> all statements succeed on that version.

This was broken by 911e702077 (Implement operator class parameters).
-- 
Vik Fearing





view thread (16+ messages)  latest in thread

Message-ID: <9b91d241-4d05-e5a4-67da-5b8acdb9a2f1@postgresfriends.org>
Permalink:  ../9b91d241-4d05-e5a4-67da-5b8acdb9a2f1@postgresfriends.org/
Also on:    postgresql.org/message-id/9b91d241-4d05-e5a4-67da-5b8acdb9a2f1@postgresfriends.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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: vik@postgresfriends.org, aekorotkov@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17220: ALTER INDEX ALTER COLUMN SET (..) with an optionless opclass makes index and table unusable
  In-Reply-To: <9b91d241-4d05-e5a4-67da-5b8acdb9a2f1@postgresfriends.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