Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Scott cox" <sadcox66@xxxxxxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux