pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Usama Dar <munir.usama@gmail.com>
To: Shane Ambler <pgsql@sheeky.biz>
Cc: 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 17:34:06 +0500
Message-ID: <ff0e67090711290434k15dd3a88qd969945600faa3ed@mail.gmail.com> (raw)
In-Reply-To: <474E76F3.4030203@Sheeky.Biz>
References: <569143.5566.qm@web31807.mail.mud.yahoo.com>
	<474E76F3.4030203@Sheeky.Biz>

Or you can try using a simple packet sniffer, maybe ,ethereal , to see if
name resolution is going on, i had similar problems with MySQL name
resolution in the past and they generally went away after disabling its name
resolution and just use IPs

On Nov 29, 2007 1:23 PM, Shane Ambler <pgsql@sheeky.biz> wrote:

> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>

view thread (10+ messages)

Message-ID: <ff0e67090711290434k15dd3a88qd969945600faa3ed@mail.gmail.com>
Permalink:  ../ff0e67090711290434k15dd3a88qd969945600faa3ed@mail.gmail.com/
Also on:    postgresql.org/message-id/ff0e67090711290434k15dd3a88qd969945600faa3ed@mail.gmail.com

 · 

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: munir.usama@gmail.com, 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: <ff0e67090711290434k15dd3a88qd969945600faa3ed@mail.gmail.com>
  References: <569143.5566.qm@web31807.mail.mud.yahoo.com> <474E76F3.4030203@Sheeky.Biz> <ff0e67090711290434k15dd3a88qd969945600faa3ed@mail.gmail.com>

* 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