Re: statistics process shutting down - Mailing list pgsql-hackers-win32

From Tom Lane
Subject Re: statistics process shutting down
Date
Msg-id 24867.1101850474@sss.pgh.pa.us
Whole thread Raw
In response to Re: statistics process shutting down  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers-win32
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> Ah.  My bad.
> /backend/port/win32/socket.c

> static void
> TranslateSocketError(void) etc.  This puts the value in errno like it is
> suppoed to be.

Hmm.  I am strongly tempted to remove src/port/pipe.c and put it into
src/backend/port/win32/socket.c, so it can share this function.

> MS recv() does not (I checked) so this is definately a
> bug in pipe.c, since it is reasonable for the caller to expect errno to
> be set to something.

Can you provide a patch?  I'm hesitant to hack code I don't have the
means to test.

            regards, tom lane

pgsql-hackers-win32 by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: statistics process shutting down
Next
From: Bruce Momjian
Date:
Subject: Re: Beta5 libpq Build broken with MS .NET 2003