model-writtenrun 4176 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Kozhemyakin reported that applying .type() to a like_regex result through jsonb_path_query caused an assertion failure on PostgreSQL 16beta2, supplying a reproducer and stack trace #1.
- David Rowley diagnosed a missing jpiLikeRegex condition in the jspGetNext() assertion and attached a patch adding it #2.
- David demonstrated that the patched code returned true and false for regex comparisons and identified the result type as boolean; he also noted that jpiSubscript was the only other enum value absent from the assertion #2.
- David committed the attached patch unchanged as deae1657ee, crediting Alexander's report and specifying backpatching through PostgreSQL 12.
- David closed the thread by confirming that he had pushed the assertion fix, with no further revisions or review requests outstanding #3.