Re: regresssion script hole - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: regresssion script hole
Date
Msg-id 20060619132929.GC4297@svana.org
Whole thread Raw
In response to Re: regresssion script hole  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: regresssion script hole  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
List pgsql-hackers
On Mon, Jun 19, 2006 at 09:21:21AM -0400, Tom Lane wrote:
> Of course the $64 question is *why* is 8.0 trying to resolve that name,
> particularly seeing that the later branches apparently aren't.

The formatting of the message suggests it is a gethostbyname("''")
doing it. Did any quoting rules change between 8.0 and 8.1 w.r.t. the
configuration files?

I wonder it it'd be worth adding some conditional code around
gethostbyname() calls that warn if the call took longer than say 10
seconds. By printing out that and the string it's looking up you could
save a lot of time confirming if the delay is there or elsewhere...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: regresssion script hole
Next
From: "Magnus Hagander"
Date:
Subject: Re: Rethinking stats communication mechanisms