Re: regresssion script hole

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: regresssion script hole
Дата
Msg-id 20060619132929.GC4297@svana.org
обсуждение исходный текст
Ответ на Re: regresssion script hole  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: regresssion script hole  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: regresssion script hole
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Rethinking stats communication mechanisms