From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Kelly <Peter.Kelly@aepona.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlODBC hangs
Date: Tue, 28 Sep 2004 10:09:32 -0400
Message-ID: <14251.1096380572@sss.pgh.pa.us> (raw)
In-Reply-To: <4159252C.10606@aepona.com>
References: <4159252C.10606@aepona.com>
Peter Kelly <Peter.Kelly@aepona.com> writes:
> I'm having problems getting psqlODBC to work on HP-UX 11.11.
> Whenever I try to start my client, it hangs while connecting to the DB.
> The client and DB are both running on the same machine.
> I've downloaded and installed a precompiled version of Postgresql 7.4.2 from
> http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=HPUXIE...
> without any problems and can use psql to query the DB without problems.
psql will by default connect via a Unix socket, whereas the ODBC code
is evidently set up to connect via TCP/IP. I bet if you try
"psql -h 10.10.29.11 ..." it will block too.
It could be a problem with your pg_hba.conf entry for local TCP
connections, but usually mistakes there don't result in a complete
hang. I'm wondering whether kernel-level packet filtering is preventing
the connection request from going through. If you've got any sort of
software firewall setup, check its rules.
regards, tom lane
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: tgl@sss.pgh.pa.us, Peter.Kelly@aepona.com
Subject: Re: psqlODBC hangs
In-Reply-To: <14251.1096380572@sss.pgh.pa.us>
References: <4159252C.10606@aepona.com> <14251.1096380572@sss.pgh.pa.us>
* 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