X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 212F332A02D for ; Tue, 28 Sep 2004 15:11:01 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 49216-01 for ; Tue, 28 Sep 2004 14:10:55 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 7FEF6329F55 for ; Tue, 28 Sep 2004 15:10:55 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id i8SE9WfL014252; Tue, 28 Sep 2004 10:09:35 -0400 (EDT) To: Peter Kelly Cc: pgsql-odbc@postgresql.org Subject: Re: psqlODBC hangs In-reply-to: <4159252C.10606@aepona.com> References: <4159252C.10606@aepona.com> Comments: In-reply-to Peter Kelly message dated "Tue, 28 Sep 2004 09:47:40 +0100" Date: Tue, 28 Sep 2004 10:09:32 -0400 Message-ID: <14251.1096380572@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/84 X-Sequence-Number: 4459 Peter Kelly 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=HPUXIEXP1111 > 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