pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shane Ambler <pgsql@Sheeky.Biz>
To: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: Richard Huxton <dev@archonet.com>
Cc: Finn Lassen <dcio@AxiomInt.com>
Cc: General PostgreSQL List <pgsql-general@postgresql.org>
Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin
Date: Thu, 29 Nov 2007 18:53:15 +1030
Message-ID: <474E76F3.4030203@Sheeky.Biz> (raw)
In-Reply-To: <569143.5566.qm@web31807.mail.mud.yahoo.com>
References: <569143.5566.qm@web31807.mail.mud.yahoo.com>

Richard Broersma Jr wrote:
> --- On Wed, 11/28/07, Richard Huxton <dev@archonet.com> wrote:
>> Name lookups. Something is trying to look up a name,
>> failing and it's 
>> timing out after 60 seconds.
> 
> It seems the OP's connection string was set to localhost.  Would this still indicate a Name Loopup problem?
> 

If there is no entry (or an incorrect one) in /etc/hosts for localhost - 
then yes - try to connect to 127.0.0.1 and see if that makes a difference.

Also if it is set to do namelookup before referring to /etc/hosts it can 
have similar probs.


-- 

Shane Ambler
pgSQL@Sheeky.Biz

Get Sheeky @ http://Sheeky.Biz



view thread (10+ messages)  latest in thread

Message-ID: <474E76F3.4030203@Sheeky.Biz>
Permalink:  ../474E76F3.4030203@Sheeky.Biz/
Also on:    postgresql.org/message-id/474E76F3.4030203@Sheeky.Biz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: pgsql@Sheeky.Biz, rabroersma@yahoo.com, dev@archonet.com, dcio@AxiomInt.com, pgsql-general@postgresql.org
  Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin
  In-Reply-To: <474E76F3.4030203@Sheeky.Biz>
  References: <569143.5566.qm@web31807.mail.mud.yahoo.com> <474E76F3.4030203@Sheeky.Biz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox