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

localhost redux

From: "Gavin M(dot) Roy" <gmr(at)ehpg(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: localhost redux
Date: 2004-07-19 23:09:40
Message-ID: 40FC54B4.500@ehpg.net (view raw or flat)
Thread:
Lists: pgsql-hackers
I've been having a problem with the pgstat.c localhost change since 7.4, 
in that statistics gathering stopped working on my gentoo boxes.  I've 
not traced it back beyond getaddrinfo called in getaddrinfo_all, and 
decided the quick fix was to go back and change pgstat to use 127.0.0.1 
instead of localhost.

I don't know if the problem is isolated to just me, but I wanted to 
suggest that we use a parameter for that, which can be configured in the 
postgresql.conf, with a default value if it's not set, set to 
localhost.  I'd be happy to write a patch that follows this behavior but 
wanted to see if everyone agrees with that line of thinking before doing so.

Gavin



Responses

pgsql-hackers by date

Next:From: Simon RiggsDate: 2004-07-19 23:28:02
Subject: Re: Why we really need timelines *now* in PITR
Previous:From: Simon RiggsDate: 2004-07-19 22:57:17
Subject: Re: Point in Time Recovery

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