model-writtenrun 8346 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Maciek Sakrejda reported that JSON EXPLAIN embedded SQL identifier quotes inside index-name values while relation-name values remained unquoted, traced the issue to explain_get_index_name(), and raised uncertainty about its extension hook in #1.
- Euler Taveira supplied a patch that passed ExplainState into explain_get_index_name() and restricted identifier quoting to text output, while expressing concern about changing released versions in #2.
- Tom Lane argued that index-name retrieval should always return raw names and callers should handle quoting, avoiding a format parameter for extension hooks in #3; his replacement patch implemented that contract in #4.
- Tom Lane favored backpatching despite the changed hook contract because non-text output was clearly wrong and extension consequences appeared limited in #4, and Euler Taveira supported separating retrieval from formatting and backpatching all supported versions in #5.
- Julien Rouhaud explained that hypopg already returned unquoted names in #7; after Tom Lane identified possible text-output regression-test breakage in #8, Julien demonstrated correct patched YAML and text output and identified one hypopg test needing adjustment in #9.
- Tom Lane committed #4 unchanged as 63d2ac23b0 and announced that the fix had reached all branches, with delivery planned for PostgreSQL 13 beta 2 and the August minor releases, in #10.
- The thread ended with Julien Rouhaud confirming that he had pushed the hypopg regression-test adjustment and that it worked both with and without the PostgreSQL fix in #11, leaving no outstanding PostgreSQL patch work.