Re: pgsql: Define INADDR_NONE on Solaris when it's missing.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Define INADDR_NONE on Solaris when it's missing.
Date: 2010-01-28 15:46:47
Message-ID: 15287.1264693607@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

mha(at)postgresql(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2010-01-28 15:53:44 Re: pgsql: Define INADDR_NONE on Solaris when it's missing.
Previous Message Simon Riggs 2010-01-28 15:46:07 Re: pgsql: Use malloc() in GetLockConflicts() when called InHotStandby to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-01-28 15:48:53 Re: Streaming replication, and walsender during recovery
Previous Message Robert Haas 2010-01-28 15:46:44 Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns