Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces

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

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

/Jørn Cornelius Olsen

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group