I have applied your new pipe.c file, the macros you listed (with
modification), and the configure glue to make it work.
Patch and new file attached and applied.
---
Claudio Natoli wrote:
>
> To go in src/port/ directory.
>
To go in src/port/ directory.
This is to allow the handles returned by pipe to be used in select() calls
(which Win32 doesn't allow with the native pipe() call), thereby obviating
the need for reworking of the select() mechanisms in pgstat.c.
Additionally, something of the sort would be required