model-writtenrun 3684 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis reported that transferring a subscription from a superuser to a non-superuser could leave password_required enabled while allowing passwords from external sources, and favored validation before every connection over enforcing a catalog invariant for compatibility reasons #1.
- Amit Kapila discussed validation for apply and table-sync workers, while Jeff Davis proposed centralizing it in walrcv_connect(); they agreed to retain DDL-time checks for early error reporting, and Robert Haas supported that design #2 #3 #4 #5 #6 #7.
- Vignesh C's initial patch combined password validation with worker invalidation when superuser privileges changed, but Robert Haas objected to its interface changes and unexplained cleanup logic and requested a separate worker-invalidation patch #8 #9.
- Vignesh reduced the fix to validation before connecting and moved worker invalidation to a separate hackers thread, leaving that work outside this patch series #10 #11.
- After Vignesh added an ownership-transfer regression test, Peter Smith requested clearer documentation, consistent names, simpler setup, and a successful explicit-password case; Vignesh incorporated those suggestions and clarified that passfile passwords remain disallowed when password_required applies #12 #13 #14.
- Peter's next review standardized connection-string terminology and markup, and he endorsed the revised patch subject to agreement on requiring the password parameter #15 #16 #17.
- Following a gap, Vignesh rebased the unchanged fix onto HEAD in late November #18.
- Jeff committed the rebased patch as 5c31669058, broadening the validation call to check syntax even when a password is not required and adjusting documentation and the test assertion #20.
- Vignesh subsequently reproduced a buildfarm failure and attached a test fix combining Tom Lane's suggested role initialization with a TCP authentication rule for systems without Unix sockets #22.
- Jeff rejected that approach because SSPI initialization obscured the password test and the proposed TCP rule conflicted with test-cluster isolation; he proposed skipping the affected tests without Unix sockets, which Vignesh supported while arguing to retain the existing authentication-configuration timing #23 #24.
- Jeff implemented the discussion's solution in dd3ca8cbb0, wrapping three tests in a SKIP block and saving and restoring PGPASSWORD; his final message confirmed that authentication-configuration timing remained unchanged, with no further problems reported in this thread #25.