Peter Kelly <Peter(dot)Kelly(at)aepona(dot)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
> 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
In response to
pgsql-odbc by date
|Next:||From: Tom Lane||Date: 2004-09-28 14:14:15|
|Subject: Re: psqlODBC hangs |
|Previous:||From: Greg Campbell||Date: 2004-09-28 14:08:40|
|Subject: Re: Non-Proprietary ODBC Examples on Win32?|