Re: Proof of concept: standalone backend with full FE/BE protocol - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Proof of concept: standalone backend with full FE/BE protocol
Date
Msg-id 18054.1346647353@sss.pgh.pa.us
Whole thread Raw
In response to Re: Proof of concept: standalone backend with full FE/BE protocol  (Noah Misch <noah@leadboat.com>)
Responses Re: Proof of concept: standalone backend with full FE/BE protocol  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> Windows does not have socketpair(), nor a strict pipe() equivalent.  I expect
> switching to socketpair() makes the Windows side trickier in some ways and
> simpler in others.  +1 for exploring that direction first.

A bit of googling suggests that emulating socketpair() on Windows is not
that hard: basically you create an accepting socket and connect to it.
Ugly I guess but likely to be nicer than emulating the two-pipes trick
exactly.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [PERFORM] pg_dump and thousands of schemas
Next
From: Noah Misch
Date:
Subject: Re: Proof of concept: standalone backend with full FE/BE protocol