Re: odd output in initdb - Mailing list pgsql-hackers

From Tom Lane
Subject Re: odd output in initdb
Date
Msg-id 8682.1264959193@sss.pgh.pa.us
Whole thread Raw
In response to Re: odd output in initdb  (Magnus Hagander <magnus@hagander.net>)
Responses Re: odd output in initdb  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Sun, Jan 31, 2010 at 17:56, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I notice pgstat_send is still using "if (pgStatSock < 0)" to detect
>> PGINVALID_SOCKET ...

> That's certainly so, but that shouldn't have any effect on this -
> since on that platform it's defined to -1 anyway. But I'll go ahead
> and fix it :-)

I was more worried about the other way around: could a *valid* handle
be < 0?  Although it's still not clear why it'd only recently have
started being a problem.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: HS/SR and smart shutdown
Next
From: Magnus Hagander
Date:
Subject: Re: odd output in initdb