model-writtenrun 5720 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bharath Rupireddy proposed using the dest_folder function parameter instead of the global basedir in get_destination_dir()'s error message, matching close_destination_dir() #1.
- Bharath described the existing code as harmless and attached a one-line correction in src/bin/pg_basebackup/pg_receivewal.c #1.
- Andres Freund committed the attached patch unchanged as 1155d8b8d5, explaining that the global variable was always the value passed to the function.
- Andres confirmed the push in the final reply, leaving the proposed correction fully landed with no outstanding work discussed #2.