Aborting connection attempt when using PQconnectStart

Поиск
Список
Период
Сортировка
От jco@cornelius-olsen.dk
Тема Aborting connection attempt when using PQconnectStart
Дата
Msg-id OF15E1C8C7.661667C1-ONC1256E13.00723412@dk
обсуждение исходный текст
Список pgsql-interfaces
Hi,

How would one go about aborting a connection attempt started with
PQconnectStart and in a state somewhere between CONNECTION_STARTED and
CONNECTION_SETENV?

I've tried to use PQfinish but that one end in an access violation
(segfault for *nix) and PQrequestCancel doesn't seem to have any effect.

Should I try to close the socket manually or is there simply no way to do
it?

Regards
/Jørn Cornelius Olsen




В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Need help with nmake /f win32.mak
Следующее
От: kjw
Дата:
Сообщение: ECPG and EXEC SQL GET DIAGNOSTICS