Aborting connection attempt when using PQconnectStart
Aborting connection attempt when using PQconnectStart
От:
jco@cornelius-olsen.dk
Дата:
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