Re: Cleaning up historical portability baggage
От
Andres Freund
Тема
Re: Cleaning up historical portability baggage
Дата
Msg-id
20220815192505.pxhxpv2odnlq3vb6@awork3.anarazel.de
Ответ на
Re: Cleaning up historical portability baggage (Thomas Munro)
Список
Дерево обсуждения
Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Robert Haas <robertmhaas@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Robert Haas <robertmhaas@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Andrew Dunstan <andrew@dunslane.net>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Michael Banck <mbanck@gmx.net>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Michael Banck <mbanck@gmx.net>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Michael Banck <mbanck@gmx.net>
Re: Cleaning up historical portability baggage Michael Banck <mbanck@gmx.net>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Ibrar Ahmed <ibrar.ahmad@gmail.com>
Re: Cleaning up historical portability baggage John Naylor <john.naylor@enterprisedb.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage John Naylor <john.naylor@enterprisedb.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Andres Freund <andres@anarazel.de>
Re: Cleaning up historical portability baggage Robert Haas <robertmhaas@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Robert Haas <robertmhaas@gmail.com>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Thomas Munro <thomas.munro@gmail.com>
Re: Cleaning up historical portability baggage Tom Lane <tgl@sss.pgh.pa.us>
Re: Cleaning up historical portability baggage Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Cleaning up historical portability baggage Greg Stark <stark@mit.edu>
Re: Cleaning up historical portability baggage Greg Stark <stark@mit.edu>
Hi,
On 2022-08-15 13:48:22 +1200, Thomas Munro wrote:
> On Sun, Aug 14, 2022 at 10:36 AM Andres Freund wrote:
> > On 2022-08-14 10:03:19 +1200, Thomas Munro wrote:
> > > I hadn't paid attention to our existing abstract Unix socket support
> > > before and now I'm curious: do we have a confirmed sighting of that
> > > working on Windows?
> >
> > I vaguely remember successfully trying it in the past. But I just tried it
> > unsuccessfully in a VM and there's a bunch of other places saying it's not
> > working...
> > https://github.com/microsoft/WSL/issues/4240
>
> I think we'd better remove our claim that it works then. Patch attached.
>
> We could also reject it, I guess, but it doesn't immediately seem
> harmful so I'm on the fence. On the Windows version that Cirrus is
> running, we happily start up with:
>
> 2022-08-13 20:44:35.174 GMT [4760][postmaster] LOG: listening on Unix
> socket "@c:/cirrus/.s.PGSQL.61696"
What I find odd is that you said your naive program rejected this...
FWIW, in an up-to-date windows 10 VM the client side fails with:
psql: error: connection to server on socket "@frak/.s.PGSQL.5432" failed: Invalid argument (0x00002726/10022)
Is the server running locally and accepting connections on that socket?
That's with most security things disabled and developer mode turned on.
Greetings,
Andres Freund
В списке pgsql-hackers по дате отправления
От: Ranier Vilela
Дата: