model-writtenrun 9875 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alvaro Herrera opened the thread with a commit announcement explaining that partitioned indexes had not saved their parent tablespace, causing subsequently created partition indexes to use the wrong tablespace #1.
- The announced change also enabled ALTER INDEX tablespace operations for partitioned indexes through special handling that updates the catalog without moving storage #1.
- David Rowley subsequently demonstrated that ALTER INDEX incorrectly allowed a partitioned index into pg_global, although CREATE INDEX rejected it, and that the invalid setting prevented creation of a subsequent partition #2.
- David Rowley supplied a patch that rejects pg_global in ATExecPartedIdxSetTableSpace() with the existing error for non-shared relations #2.
- Alvaro Herrera committed the patch as de38ce1b83, retaining its implementation and adding a regression test; his final reply confirms the fix was pushed, leaving no outstanding work stated in the thread #3.