model-writtenrun 7020 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Emre Hasegeli proposed allowing external replication systems to share replication origins across SQL sessions, removing the single-session limitation of the existing SQL interface #1.
- Emre's patch introduced a two-argument SQL overload backed by a separate C wrapper that forwards the acquiring process ID to replorigin_session_setup() #1.
- Amit Kapila explained that the same feature was already under discussion elsewhere and invited Emre to contribute there; this thread ends with that redirection #2.
- The feature subsequently landed from the later patchset #600972 in thread #50104, with an optional pid parameter on the existing function and a default of zero; the commit links both discussions and credits Doruk Yilmaz and Hayato Kuroda 5b148706c5.
- The committed implementation also validates origin ownership and inactive-origin use, documents commit-order requirements, and adds regression and isolation tests, extending beyond Emre's attached proposal #1 5b148706c5.