Re: libpq on windows

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: libpq on windows
Дата
Msg-id 192bc8571d77abfaa3f193ebfb3c10e5@pgedit.com
обсуждение исходный текст
Ответ на libpq on windows  (Gustavo Lopes <contratempo@gmail.com>)
Ответы Re: libpq on windows  (Gustavo Lopes <contratempo@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Gustavo Lopes
Дата:
Сообщение: libpq on windows
Следующее
От: "Peter Manchev"
Дата:
Сообщение: Re: postgresql JSP Tags