On Tue, Jun 20, 2023 at 07:49:52AM -0400, Russell Foster wrote:
> /*
> * We don't use Unix-domain sockets on Windows by default, even if the
> * build supports them. (See comment at remove_temp() for a reason.)
> * Override at your own risk.
> */
>
> Is there some sort of race condition in the SSPI code that sometimes
> doesn't gracefully finish/close the connection when the backend
> decides to exit due to error?
No. remove_temp() is part of test driver "pg_regress". Non-test usage is
unaffected. Even for test usage, folks have reported no failures from the
cause mentioned in the remove_temp() comment.