From: | Craig Ringer <craig(at)2ndquadrant(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Looks like we can enable AF_UNIX on Windows now |
Date: | 2018-05-30 01:44:09 |
Message-ID: | CAMsr+YGGj0DYWsTQeh4jex4sJCDy_H4P=vdcsfFztS5vPmi43g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
https://blogs.msdn.microsoft.com/commandline/2017/12/19/af_unix-comes-to-windows/
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
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-05-30 01:53:47 | Re: Looks like we can enable AF_UNIX on Windows now |
Previous Message | Alvaro Herrera | 2018-05-30 00:53:12 | Re: found xmin from before relfrozenxid on pg_catalog.pg_authid |