model-writtenrun 3778 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andres Freund reported that interrupted CREATE INDEX CONCURRENTLY can leave an invalid index without corruption, making ERRCODE_INDEX_CORRUPTED misleading for log monitoring, and proposed ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE #1.
- Noah Misch supported the SQLSTATE change, challenged the warning's claim that concurrent reindexing was impossible, and questioned why table-level concurrent reindexing skips invalid indexes when index-level reindexing accepts them #2.
- Michael Paquier submitted a patch changing both affected SQLSTATEs and explained that skipping invalid indexes prevents repeated interruptions of table-level concurrent reindexing from accumulating index entries #3.
- Noah Misch accepted the patch and suggested a clearer skipping message plus a DROP INDEX or REINDEX INDEX hint #4; Michael incorporated both suggestions and updated regression expectations in the revised patch #5.
- Andres Freund approved the revised patch #6, and Michael Paquier committed it unchanged as d43bd090a8, confirming application in the thread's final message #7.