model-writtenrun 6831 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Staroverov Ilja reported that SQL/JSON PASSING rejected char(n), name, and domains over text because the parser passed these string values directly to an executor that did not support them, and supplied a fix with regression tests in #1.
- The proposal in #1 used string-type output functions in the executor to preserve char(n) padding and repair existing views and rules without changing parse trees, while acknowledging repeated conversion costs.
- Amit Langote agreed with the executor fix and supplied a revision in #2 that handled bpchar and name directly, retained the output-function fallback for other string types, added a user-defined type test, and included a PostgreSQL 17 variant.
- Amit Langote explained in #2 that thread #254463 independently reported the same issue and was added to the commit message with reporter credit; the committed implementation came from this thread's patch revision.
- Amit Langote committed the described revision as c5daeb1e0f, crediting the original author and an additional reporter, with backports through PostgreSQL 17; the unavailable revised attachments prevent an exact equality check.
- Amit Langote confirmed completion in #3, closing the thread with the fix committed and backpatched and no outstanding work stated.