Re: pgsql: Define INADDR_NONE on Solaris when it's missing. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Define INADDR_NONE on Solaris when it's missing.
Date
Msg-id 15287.1264693607@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Define INADDR_NONE on Solaris when it's missing.  (mha@postgresql.org (Magnus Hagander))
Responses Re: pgsql: Define INADDR_NONE on Solaris when it's missing.
List pgsql-committers
mha@postgresql.org (Magnus Hagander) writes:
> Log Message:
> -----------
> Define INADDR_NONE on Solaris when it's missing. Per a couple of buildfarm
> members complaining.

This seems likely to break as much as it fixes, since there's no very
good reason to assume that whatever header should define INADDR_NONE
has been included before the os.h header file has been read.

Possibly more to the point, where are we using INADDR_NONE anyway?

            regards, tom lane

pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pgsql: Use malloc() in GetLockConflicts() when called InHotStandby to
Next
From: Magnus Hagander
Date:
Subject: Re: pgsql: Define INADDR_NONE on Solaris when it's missing.