Looks like we can enable AF_UNIX on Windows now - Mailing list pgsql-hackers

From Craig Ringer
Subject Looks like we can enable AF_UNIX on Windows now
Date
Msg-id CAMsr+YGGj0DYWsTQeh4jex4sJCDy_H4P=vdcsfFztS5vPmi43g@mail.gmail.com
Whole thread Raw
Responses Re: Looks like we can enable AF_UNIX on Windows now  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers

The latest Windows 10 update shipped with AF_UNIX socket support for win32 sockets.

It's not that exciting because it doesn't support socketpair() or fd passing - yet. So really it doesn't offer us much more than we can already get with win32 named pipes. We can - and do - already get fd passing with DuplicateHandle anyway.

Still, I thought it was interesting. We could probably just conditionally enable AF_UNIX sockets on new enough windows SDKs. Apparently if it's not supported by the OS runtime you get a graceful error.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid
Next
From: Andres Freund
Date:
Subject: Re: Looks like we can enable AF_UNIX on Windows now