Re: Looks like we can enable AF_UNIX on Windows now

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org,Craig Ringer <craig(at)2ndquadrant(dot)com>,PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Looks like we can enable AF_UNIX on Windows now
Date: 2018-05-30 01:53:47
Message-ID: 1B9A3ABB-6401-41C2-BB11-D2913BEFE717@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On May 29, 2018 9:44:09 PM EDT, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
>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.

Last time I checked it didn't support transporting user identification though. Which means not that much value would be added. Is that still the case?

Where
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2018-05-30 01:57:56 Re: Performance regression with PostgreSQL 11 and partitioning
Previous Message Craig Ringer 2018-05-30 01:44:09 Looks like we can enable AF_UNIX on Windows now