model-writtenrun 9645 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Devrim GÜNDÜZ reported that development pg_basebackup against PostgreSQL 11 incorrectly wrote recovery settings to postgresql.auto.conf and created standby.signal instead of recovery.conf #1.
- Michael Paquier confirmed that compatibility with older servers must be preserved and proposed using the connected server's version to choose the configuration file and suppress standby.signal where unsupported #2.
- Sergei Kornilov supplied a patch covering plain and tar backups, restoring standby_mode and recovery.conf for older servers while retaining the PostgreSQL 12 behavior #3.
- Michael Paquier retained the patch's logic while improving comments and code organization #4, and Sergei tested the revision against development HEAD and PostgreSQL 11.2, with and without -R in both plain and tar formats #5.
- Michael Paquier committed the revised patch with only light cleanup as beeb8e2e07 and reported matching test results #6; Sergei acknowledged the completed fix in the final reply #7.