Re: [HACKERS] Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kardos, Dr(dot) Andreas" <kardos(at)repas-aeg(dot)de>
Cc: hackers(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)
Date: 2000-04-12 14:15:46
Message-ID: 5963.955548946@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

"Kardos, Dr. Andreas" <kardos(at)repas-aeg(dot)de> writes:
> The entries in Makefile.global are
> Makefile.global:USE_PERL= false
> Makefile.global:PERL= perl
> PERL= perl seems to be static (see Makefile.global.in)
> Since in psql/Makefile only PERL but not USE_PERL is checked, perl will be
> called always if sql_help.h is not present.

OK, I think that's a bug in the Makefile: it should be checking USE_PERL
to decide whether to create a build rule for sql-help.h (Peter, do you
agree)?

> pqFlush() fails because send() fails with the following parameters:

> send(sock = 3, ptr = 4a320, len = 296, 0) => -1
> errno = 22 (EINVAL)

> The man pages sais that EINVAL may occure only in sendto() but not in
> send()!!!
> The parameters seem to be OK for me.
> There is the same behaviour for UNIX domain and for TCP sockets.
> ????

No idea here, either. Anyone?

regards, tom lane

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2000-04-12 23:31:46 Re: [HACKERS] Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)
Previous Message Kardos, Dr. Andreas 2000-04-12 12:31:53 Re: [HACKERS] Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)