Re: Call for port reports

From: Kurt Roeckx <Q(at)ping(dot)be>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Call for port reports
Date: 2003-11-09 02:24:00
Message-ID: 20031109022400.GA8269@ping.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Nov 08, 2003 at 06:36:38PM -0500, Bruce Momjian wrote:
>
> Kurt, this patch added special includes for testing un.h, and I believe
> it caused regression failures for the statistics collector. Is it still
> needed? What platform is this?

It's a linux system with an (old) libc5. It's still needed for
that platform, but I doubt many people would use it.

On what platfrom does it break? Is the result of checking for
un.h different?

The stats collector has this code that is relevant:

for (addr = addrs; addr; addr = addr->ai_next)
{
#ifdef HAVE_UNIX_SOCKETS
/* Ignore AF_UNIX sockets, if any are returned. */
if (addr->ai_family == AF_UNIX)
continue;
#endif
if ((pgStatSock = socket(addr->ai_family, SOCK_DGRAM, 0)) >= 0)
break;
}

Kurt

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-11-09 02:26:37 Re: Coding help
Previous Message Tom Lane 2003-11-09 02:16:25 Re: [HACKERS] postgresql-7.4RC1 - unrecognized privilege type