Received: from sss2.sss.pgh.pa.us (sss.pgh.pa.us [209.114.166.2]) by hub.org (8.10.1/8.10.1) with ESMTP id e6BFn6W85879 for ; Tue, 11 Jul 2000 11:49:06 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss2.sss.pgh.pa.us (8.9.3/8.9.3) with ESMTP id LAA00807; Tue, 11 Jul 2000 11:48:27 -0400 (EDT) To: David Millen cc: PosrgreSQL Interfaces Subject: Re: odbc, postgresql and cobalt Qube/RaQ3 In-reply-to: <396891E1.9BD3B85C@largesalad.co.uk> References: <396891E1.9BD3B85C@largesalad.co.uk> Comments: In-reply-to David Millen message dated "Sun, 09 Jul 2000 14:53:22 -0000" Date: Tue, 11 Jul 2000 11:48:27 -0400 Message-ID: <804.963330507@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200007/69 David Millen writes: > Again, from psql, the system works well and the pg* commands that I have > tried work, but I can't get a PostgreSQL ODBC connection from Star > Office on the host machine, which *does* work with MyODBC, and > unfortunately, my wife's machine has gone feet up so I can't test > networked ODBC. psql will do local connections via a Unix-domain socket, whereas I believe ODBC always wants to use a TCP connection. So, a couple of obvious things to check: is the postmaster started with "-i" switch to enable TCP connections? Do you have an entry in pg_hba.conf allowing connections from the proper IP address? If you can get psql to start with "-h localhost" then this is the wrong answer. regards, tom lane