model-writtenrun 6055 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis proposed allowing GetSharedSecurityLabel() to run before shared relation caches are built, identifying unconditional index use as the problem #1.
- His attached patch makes systable_beginscan() use an index only when criticalSharedRelcachesBuilt is true #1.
- The supplied thread ends with that submission and contains no review replies or further revisions #1.
- Jeff Davis committed the patch unchanged on October 14, 2021; the commit explains that authentication hooks may need to retrieve role security labels before shared relation caches are initialized 7821a0bf20.
- The submitted change landed in full, with backpatching through PostgreSQL 9.6 recorded in the commit 7821a0bf20.