From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brian Eldridge <beldri@runesoft.com>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] libpq problem
Date: Thu, 11 Mar 1999 09:50:34 -0500
Message-ID: <20717.921163834@sss.pgh.pa.us> (raw)
In-Reply-To: <36E7465D.140665F3@runesoft.com>
Brian Eldridge <beldri@runesoft.com> writes:
> [on a Win 95 box] Whenever I try to connect to my Linux box, I get an
> "unknown host" error from libpq. If I use the psql.exe that came with
> the libs, it works fine.
It kinda sounds like something is wrong with DNS lookup --- not on your
box as a whole, but just in your program. Perhaps you are linking
against a broken resolver library, or some such? Anyway, try putting
some debug printouts around the call to gethostbyname() in fe-connect.c;
I assume that must be the subroutine that's failing. Find out what it's
being passed and what it's returning.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, beldri@runesoft.com
Subject: Re: [INTERFACES] libpq problem
In-Reply-To: <20717.921163834@sss.pgh.pa.us>
* 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