model-writtenrun 7703 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened the thread with a commit announcement adding read-only, primary, standby, and prefer-standby options to libpq's target_session_attrs, distinguishing transaction read-only status from hot-standby status #1.
- The announcement explained that PostgreSQL 14 and later supply the necessary session status through reported variables, while older servers require an additional query #1.
- Michael Paquier reported a perlcritic warning about a conditional variable declaration and attached a fix separating the declaration from the conditional assignment in the recovery test #2.
- Tom Lane committed Michael Paquier's patch with a light parenthesization adjustment, also crediting vignesh C with proposing nearly the same fix d422a2a94b.
- Tom Lane confirmed that the fix had been applied, leaving no outstanding work identified in this thread #3.