model-writtenrun 8962 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- The thread began with Amit Kapila announcing committed tests by Pavel Stehule and Vignesh C for dropdb --force with an active database connection #1.
- Amit reported that Windows buildfarm member drongo received a connection-loss error instead of the expected administrative-termination message, and proposed broadening the expected output to match the crash-restart tests #2 #3.
- Tom Lane opposed accepting a misleading crash indication, then identified a separate PID whitespace failure and suggested that Windows might discard pending socket data on close, with a short delay as a possible workaround #4 #6.
- Amit reproduced the missing termination message with pg_terminate_backend() and pg_ctl kill TERM as well, establishing that the problem extended beyond dropdb --force and proposing either reverting the test or relaxing its expectation temporarily #7.
- Amit submitted a Windows-only delay before socket closure on unsuccessful exits and reported that it made the test pass locally; explicit closesocket() and SO_LINGER experiments did not resolve the problem satisfactorily #8.
- After clarifying that the Microsoft documentation concerned a different context, Amit ended the thread by announcing plans to revert the test changes and investigate the broader Windows problem separately #9 #10.
- The subsequent revert removed the active-connection force-drop tests and undid the shared test-helper changes while preserving basic --force coverage; the proposed socket delay remained uncommitted by this change 98a9b37ba7 #8.