Re: BUG #17220: ALTER INDEX ALTER COLUMN SET (..) with an optionless opclass makes index and table unusable
Matthijs van der Vleuten <postgresql@zr40.nl>
From: "Matthijs van der Vleuten" <postgresql@zr40.nl>
To: "Michael Paquier" <michael@paquier.xyz>,
"Bossart, Nathan" <bossartn@amazon.com>
Cc: "Dilip Kumar" <dilipbalaut@gmail.com>,
"Vik Fearing" <vik@postgresfriends.org>,
"Alexander Korotkov" <aekorotkov@gmail.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
"Robert Haas" <robertmhaas@gmail.com>
Date: 2021-10-19T06:48:05Z
Lists: pgsql-bugs, pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Block ALTER INDEX/TABLE index_name ALTER COLUMN colname SET (options)
- 85dc4292a7a1 13.5 landed
- b1b797ec71a1 14.1 landed
- fdd88571454e 15.0 landed
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.