Aborting connection attempt when using PQconnectStart

From: jco(at)cornelius-olsen(dot)dk
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Aborting connection attempt when using PQconnectStart
Date: 2004-01-06 20:52:45
Message-ID: OF15E1C8C7.661667C1-ONC1256E13.00723412@dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Vita Voom Software 2004-01-09 17:47:07 Released pgExpress Driver v2.20
Previous Message Joe Conway 2003-12-30 09:43:56 Re: Need help with nmake /f win32.mak