model-writtenrun 7362 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Hayato Kuroda proposed appending the local backend PID to postgres_fdw's fallback_application_name so administrators could correlate local and remote query logs, and supplied a small connection.c patch #1.
- Tom Lane argued that a fixed PID addition would provide unwanted or insufficient detail, particularly without identifying the originating server, and recommended retaining the simple default #2.
- Tom Lane instead proposed configurable application_name formatting escapes such as %p, potentially drawing on log_line_prefix's escape codes #2.
- Hayato Kuroda accepted the configurable approach and promised to implement it; the thread ended without a revised attachment or a reported landing #3.
- Implementation continued in thread #44644, whose later patchset #494704 supplied the escape-expansion component committed as 6e0cb3dec1, with regression tests and documentation while preserving the original fallback default; this thread supplied the initial proposal and design discussion rather than the committed patch.