Re: [BUGS] PGSTAT: bind(2): Can't assign requested address

2006-04-20 Thread Bruce Momjian
Bjoern A. Zeeb wrote: > On Fri, 7 Jun 2002, Bruce Momjian wrote: > > Hi, > > it's been some months so I left the fullquote attached. > > > Well, you are the first to report that 127.0.0.1 doesn't work for stats. > > Unless someone else has a problem, I think we will leave it unchanged. > > > T

Re: [BUGS] PGSTAT: bind(2): Can't assign requested address

2006-04-05 Thread Bjoern A. Zeeb
On Wed, 5 Apr 2006, Tom Lane wrote: "Bjoern A. Zeeb" <[EMAIL PROTECTED]> writes: A datagram socket (SOCK_DGRAM) is called "UDP Socket" when it assumes IP (AF_INET) or IPv6 (AF_INET6) as it's underlying protocol. But you can always use SOCK_DGRAM over AF_LOCAL. I'm unconvinced that that has th

Re: [BUGS] PGSTAT: bind(2): Can't assign requested address

2006-04-05 Thread Tom Lane
"Bjoern A. Zeeb" <[EMAIL PROTECTED]> writes: > A datagram socket (SOCK_DGRAM) is called "UDP Socket" when it > assumes IP (AF_INET) or IPv6 (AF_INET6) as it's underlying > protocol. > But you can always use SOCK_DGRAM over AF_LOCAL. I'm unconvinced that that has the same semantics on all platforms

Re: [BUGS] PGSTAT: bind(2): Can't assign requested address

2006-04-05 Thread Bjoern A. Zeeb
On Wed, 5 Apr 2006, Tom Lane wrote: Hi, "Bjoern A. Zeeb" <[EMAIL PROTECTED]> writes: Is there any reason why you explicitly disallow a posix local socket at that point in backend/postmaster/pgstat.c:pgstat_init: Because we want UDP, not a Unix socket. what you are giving there as hints is

Re: [BUGS] PGSTAT: bind(2): Can't assign requested address

2006-04-05 Thread Tom Lane
"Bjoern A. Zeeb" <[EMAIL PROTECTED]> writes: > Is there any reason why you explicitly disallow a posix local socket > at that point in backend/postmaster/pgstat.c:pgstat_init: Because we want UDP, not a Unix socket. regards, tom lane ---(end of bro

Re: [BUGS] PGSTAT: bind(2): Can't assign requested address

2006-04-05 Thread Bjoern A. Zeeb
On Fri, 7 Jun 2002, Bruce Momjian wrote: Hi, it's been some months so I left the fullquote attached. Well, you are the first to report that 127.0.0.1 doesn't work for stats. Unless someone else has a problem, I think we will leave it unchanged. The last years this problem was disucced sever

Re: [BUGS] PGSTAT: bind(2): Can't assign requested address

2002-06-07 Thread Bruce Momjian
Well, you are the first to report that 127.0.0.1 doesn't work for stats. Unless someone else has a problem, I think we will leave it unchanged. --- Bjoern A. Zeeb wrote: > PRIO: low > > Hi, > > in src/backend/postmaster/p

[BUGS] PGSTAT: bind(2): Can't assign requested address

2002-05-26 Thread Bjoern A. Zeeb
PRIO: low Hi, in src/backend/postmaster/pgstat.c there is a hard coded bind to 127.0.0.1 that fails if 127.0.0.1 is not configured on loopback interface (e.g. administrator explicitly removed this IP). This should _not_ be the case in normal setups. --- gmake check --- ... == creati