From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site
Date: Tue, 10 May 2011 20:40:41 -0700
Message-ID: <4DCA0539.3080800@hogranch.com> (raw)
In-Reply-To: <C9D7294EB32243AE96D8E503A2FBBBAD@lhb3>
References: <201104260936.p3Q9aZTP029148@wwwmaster.postgresql.org>
<BANLkTi=+OWgHT8xVQ2VLKtB3E5v6AdSOUQ@mail.gmail.com>
<C9D7294EB32243AE96D8E503A2FBBBAD@lhb3>
On 05/10/11 8:09 PM, 李紅兵 wrote:
> I run my test program with 2 ways in the same login environment.One
> 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).
is your server listen_addresses = '*' ? if not, its not listening on the
interface that will respond to connections to 'HOSTNAME'
and, is pg_hba.conf configured for an appropriate authentication method
for `host` connections ?
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-bugs@postgresql.org
Cc: pierce@hogranch.com
Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site
In-Reply-To: <4DCA0539.3080800@hogranch.com>
References: <201104260936.p3Q9aZTP029148@wwwmaster.postgresql.org> <BANLkTi=+OWgHT8xVQ2VLKtB3E5v6AdSOUQ@mail.gmail.com> <C9D7294EB32243AE96D8E503A2FBBBAD@lhb3> <4DCA0539.3080800@hogranch.com>
* 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