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