Re: pg_upgrade improvements - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pg_upgrade improvements
Date
Msg-id 201204051707.58531.andres@anarazel.de
Whole thread Raw
In response to Re: pg_upgrade improvements  (Stephen Frost <sfrost@snowman.net>)
Responses Re: pg_upgrade improvements  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Thursday, April 05, 2012 04:44:11 PM Stephen Frost wrote:
> * Andres Freund (andres@anarazel.de) wrote:
> > I wonder if it wouldn't be better to pass a named pipe under windows and
> > use a AF_UNIX socket everwhere else. Both should be pretty easily usable
> > with the existing code. PG already seems to use named pipes under
> > windows, so...
> 
> I didn't think Tom's suggestion was really all that difficult to
> implement and sounds like a more-generally-useful change anyway (which
> you might want to use outside of this specific use case).
Hm. Changing libpq to use two pipes at the same time sounds considerably more 
invasive than basically just changing the socket creation and some minor 
details.
Why would pipes be more useful? Its not like you could build useful pipelines 
with them.

Also, it might open a window for implementing AF_UNIX like connections on 
windows...

Andres


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: pg_upgrade improvements
Next
From: Stephen Frost
Date:
Subject: Re: pg_upgrade improvements