Re: BUG #5994: Can't excute DBI->connect to oracle by client site - Mailing list pgsql-bugs

From John R Pierce
Subject Re: BUG #5994: Can't excute DBI->connect to oracle by client site
Date
Msg-id 4DCA0539.3080800@hogranch.com
Whole thread Raw
In response to Re: BUG #5994: Can't excute DBI->connect to oracle by client site  (李\xBCt兵 <lihongbing@intasect.com.cn>)
List pgsql-bugs
On 05/10/11 8:09 PM, =E6=9D=8E=E7=B4=85=E5=85=B5 wrote:
> I run my test program with 2 ways in the same login environment.One=20
> succeed and one fail.
>
> 1) psql -d dbi_link_test
> -->connect succeed
> 2) psql -h HOSTNAME -d dbi_link_test
> -->connect fail
>
> The different is connection options(Unix Domain Sockets/TCP Sockets).=20

is your server listen_addresses =3D '*' ? if not, its not listening on the=
=20
interface that will respond to connections to 'HOSTNAME'

and, is pg_hba.conf configured for an appropriate authentication method=20
for `host` connections ?

pgsql-bugs by date:

Previous
From: 李\xBCt兵
Date:
Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site
Next
From: Tom Lane
Date:
Subject: Re: Changed behaviour of \'