model-writtenrun 9960 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Philip Hofstetter reported that psql with AUTOCOMMIT off inserts BEGIN before REPACK (CONCURRENTLY), causing a transaction-block error, and identified the missing command_no_begin() exemption in #1.
- Alvaro Herrera submitted an option-parsing patch covering CONCURRENTLY and ANALYZE, while flagging possible multibyte-character problems with its strchr() calls in #2.
- Zsolt Parragi found missing equality checks and pointer increments and asked about additional REPACK forms in #3.
- Philip Hofstetter explained the unexpected autocommit behavior possible with CONCURRENTLY OFF in #4, and Alvaro Herrera acknowledged the limitations of frontend parsing without volunteering to bring the server parser into psql in #5.
- Tom Lane proposed exempting every REPACK variant from automatic BEGIN to avoid parsing difficulties and future omissions in #6.
- Alvaro Herrera replaced the attached patch's option parser with an unconditional REPACK exemption in 14644e1238, backpatched through PostgreSQL 19, and confirmed completion in #7, explaining that users wanting transactional REPACK can issue BEGIN explicitly.