Re: OpenServer 5.0.7: setsockopt(TCP_NODELAY)?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: OpenServer 5.0.7: setsockopt(TCP_NODELAY)?
Date: 2003-11-07 01:19:05
Message-ID: 24586.1068167945@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Larry Rosenman <ler(at)lerctr(dot)org> writes:
> A "make check" fails at createdb with errors in the postmaster logfile:
> LOG: setsockopt(TCP_NODELAY) failed: Protocol not available

This is coming from

int on;

#ifdef TCP_NODELAY
on = 1;
if (setsockopt(port->sock, IPPROTO_TCP, TCP_NODELAY,
(char *) &on, sizeof(on)) < 0)
{
elog(LOG, "setsockopt(TCP_NODELAY) failed: %m");
return STATUS_ERROR;
}
#endif

Better ask them what their problem is with that ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2003-11-07 01:25:19 Re: Information Schema and constraint names not
Previous Message Tom Lane 2003-11-07 01:01:02 Re: Deferrable triggers