Re: libpq on windows

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Gustavo Lopes <contratempo(at)gmail(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq on windows
Date: 2005-05-19 14:58:47
Message-ID: 192bc8571d77abfaa3f193ebfb3c10e5@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Manchev 2005-05-19 18:47:44 Re: postgresql JSP Tags
Previous Message Gustavo Lopes 2005-05-19 13:52:13 libpq on windows