Re: (Win32 Postgres) Slow to Connect first - OK afterwards

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: (Win32 Postgres) Slow to Connect first - OK afterwards
Дата
Msg-id 27925.1121613783@sss.pgh.pa.us
обсуждение исходный текст
Ответ на (Win32 Postgres) Slow to Connect first - OK afterwards  ("Scott cox" <sadcox66@hotmail.com>)
Список pgsql-general
"Scott cox" <sadcox66@hotmail.com> writes:
> I am running PostgreSQL 8.0 on WinXP
> When I try to connect

> psql.exe"  -h localhost -p 5432 template1 "postgres"

> I have to wait
> 30 seconds before the Password: Prompt arrives
> 30 seconds after the password is entered.
> Once I am connected access is fast. I figured the problem is Authentication.

Actually, I bet the problem is a broken DNS setup, causing psql to spend
30 seconds trying to resolve the hostname "localhost" before it gives up
and resorts to a different way of resolving the hostname.  Check your
DNS configuration --- for instance, are you pointing to a name server
that actually works?

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: (Win32 Postgres) Slow to Connect first - OK afterwards
Следующее
От: Harry Mantheakis
Дата:
Сообщение: Re: Japanese words not distinguished - Solution