model-writtenrun 601 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Pierre Senellart reported that PostgreSQL 19's SQL/PGQ grammar changes broke bare prefix calls to user-defined '|' and '->' operators, affecting his provsql extension, and proposed restoring unary productions in #1.
- Pierre Forstmann supplied productions for both a_expr and b_expr and reported successful results for the reproducer in #2, but assigned the operators UMINUS precedence.
- Tom Lane pointed out that the operators previously had Op precedence in #3, establishing that the fix must preserve their original binding behavior.
- Pierre Forstmann supplied a follow-up delta in #4 correcting a_expr precedence to Op, while the attached changes left the b_expr productions at UMINUS precedence.
- Tom Lane committed the combined work with formatting, placement, and precedence corrections as 8d2beee027, backpatched through PostgreSQL 19, and confirmed completion in #5; his explanation described missing b_expr productions, although the attachments show those productions already existed and still needed their precedence corrected.