Skip site navigation (1) Skip section navigation (2)

Re: statistics process shutting down

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: "Win 32 hackers PGSQL" <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: statistics process shutting down
Date: 2004-11-30 21:34:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32
"Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)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

In response to

pgsql-hackers-win32 by date

Next:From: Bruce MomjianDate: 2004-12-01 23:40:18
Subject: Re: Beta5 libpq Build broken with MS .NET 2003
Previous:From: Merlin MoncureDate: 2004-11-30 21:32:25
Subject: Re: statistics process shutting down

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group