(Win32 Postgres) Slow to Connect first - OK afterwards

From: "Scott cox" <sadcox66(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: (Win32 Postgres) Slow to Connect first - OK afterwards
Date: 2005-07-15 15:08:24
Message-ID: BAY19-F8EAC399090BB16BFA5ADFCDD00@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

TIA
-Scott

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Patnude 2005-07-15 15:15:27 Re: How to obtain the list of data table name only
Previous Message Michael Glaesemann 2005-07-15 14:49:47 Re: how to insert '\\' in postgres database using java