Skip site navigation (1) Skip section navigation (2)

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-11 17:59:34
Message-ID: 1857.955475974@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
"Kardos, Dr. Andreas" <kardos(at)repas-aeg(dot)de> writes:
> 1) psql cannot be made since perl is used to generate sql_help.h. There is
> no perl on this machine. So configure doesn't help if perl is used anyway.

sql_help.h is (or should be) part of the distribution tarball.  Was it
not present, or perhaps out-of-date?  In any case the Makefile for psql
looks like it will not try to regenerate sql_help.h unless configure
found perl.

> psql: PQconnectPoll() --  couldn't send startup packet: errno=22
> Invalid argument

> TCP/IP or Unix domain sockets doesn't matter.

That's odd.  Can you get in there with a debugger (or add some printfs)
and see what's going wrong exactly?  That message can only come from
one place, but the subroutine it's reporting failure of does several
kernel calls.

			regards, tom lane

In response to

Responses

pgsql-ports by date

Next:From: Kardos, Dr. AndreasDate: 2000-04-12 12:31:53
Subject: Re: [HACKERS] Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)
Previous:From: Kardos, Dr. AndreasDate: 2000-04-11 15:53:39
Subject: Re: setsockopt(SO_REUSEADDR) (Re: Call for porting reports)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group