Re: (Win32 Postgres) Slow to Connect first - OK afterwards - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: (Win32 Postgres) Slow to Connect first - OK afterwards
Date
Msg-id 20050717145321.GA26214@svana.org
Whole thread Raw
In response to (Win32 Postgres) Slow to Connect first - OK afterwards  ("Scott cox" <sadcox66@hotmail.com>)
List pgsql-general
On UNIX this generally suggests a DNS configuration problem (can't
lookup 127.0.0.1 in DNS).

That's all I can help you with here...

Hope this helps,

On Fri, Jul 15, 2005 at 03:08:24PM +0000, Scott cox wrote:
> 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.
>
> a.) I tried the following (pg_hba.conf) with no success/difference
> # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
> #host    all         all         127.0.0.1/32          trust
> #local   all         all                               trust
> ## IPv4 local connections:
> #host    all         all         127.0.0.1/32          md5
>
> b.) Installed QoS as suggested in a post in this list. No success
>
> I am only using TCP/IP on localhost (127.0.0.1) - I am open to
> suggestions and any recommendation of tools that would let me
> figure out what is happening.

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: foreign key constraints and inheritence
Next
From: Tom Lane
Date:
Subject: Re: (Win32 Postgres) Slow to Connect first - OK afterwards