X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6931FD1B433 for ; Tue, 6 Jan 2004 20:53:42 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 74551-01 for ; Tue, 6 Jan 2004 16:52:55 -0400 (AST) Received: from cornelius-olsen.dk (0x50c4f773.arcnxx7.adsl-dhcp.tele.dk [80.196.247.115]) by svr1.postgresql.org (Postfix) with ESMTP id 9D15ED1B440 for ; Tue, 6 Jan 2004 16:52:50 -0400 (AST) Subject: Aborting connection attempt when using PQconnectStart To: pgsql-interfaces@postgresql.org X-Mailer: Lotus Notes Release 5.0.9 November 16, 2001 Message-ID: From: jco@cornelius-olsen.dk Date: Tue, 6 Jan 2004 21:52:45 +0100 X-MIMETrack: Serialize by Router on sonic/cgroup(Release 5.0.11 |July 24, 2002) at 01/06/2004 09:52:53 PM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.1 tagged_above=0.0 required=5.0 tests=NO_REAL_NAME X-Spam-Level: * X-Archive-Number: 200401/1 X-Sequence-Number: 4670 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=F8rn Cornelius Olsen