Aborting connection attempt when using PQconnectStart - Mailing list pgsql-interfaces

From jco@cornelius-olsen.dk
Subject Aborting connection attempt when using PQconnectStart
Date
Msg-id OF15E1C8C7.661667C1-ONC1256E13.00723412@dk
Whole thread Raw
List 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 by date:

Previous
From: Joe Conway
Date:
Subject: Re: Need help with nmake /f win32.mak
Next
From: kjw
Date:
Subject: ECPG and EXEC SQL GET DIAGNOSTICS