On Mon, Sep 3, 2012 at 6:42 AM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Noah Misch <n...@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.
That sounds a lot like what we were doing in pgpipe() before.. It was removed in d2c1740dc275543a46721ed254ba3623f63d2204, but that's because it was dead at the time. Do we need to bring it back? -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers