On 31.03.22 07:25, Andres Freund wrote:
> Looking at 8f3ec75de40 it seems we just assume unix sockets are available, we
> don't have a version / feature test (win32.h just defines
> HAVE_STRUCT_SOCKADDR_UN).
I think you have to handle that dynamically at run time, a bit like
IPv6: The build environment might provide symbols, structs, etc., but
the kernel might return an error when you try to create a socket.