Re: libpq on windows - Mailing list pgsql-interfaces

From John DeSoi
Subject Re: libpq on windows
Date
Msg-id [email protected]
Whole thread Raw
In response to libpq on windows  (Gustavo Lopes <[email protected]>)
Responses Re: libpq on windows
List pgsql-interfaces
On May 19, 2005, at 9:52 AM, Gustavo Lopes wrote:

> The problem can be very easily reproduced by creating a C program
> which calls PQconnectdb with a host parameter that points to a machine
> that is not running postgres.
> Running the same program under linux (although I used older versions
> of the interface and the server) does not cause any problems.

Try comparing what you are doing in this case to the psql source. It 
uses libpq and I run tests regularly that try connecting to an invalid 
server. I have not seen any problems.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL



pgsql-interfaces by date:

Previous
From: Gustavo Lopes
Date:
Subject: libpq on windows
Next
From: "Peter Manchev"
Date:
Subject: Re: postgresql JSP Tags