Re: statistics process shutting down

Tom Lane <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
"Merlin Moncure" <[email protected]> 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

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.