pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jco@cornelius-olsen.dk
To: pgsql-interfaces@postgresql.org
Subject: Aborting connection attempt when using PQconnectStart
Date: Tue, 6 Jan 2004 21:52:45 +0100
Message-ID: <OF15E1C8C7.661667C1-ONC1256E13.00723412@dk> (raw)

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





Message-ID: <OF15E1C8C7.661667C1-ONC1256E13.00723412@dk>
Permalink:  ../OF15E1C8C7.661667C1-ONC1256E13.00723412@dk/
Also on:    postgresql.org/message-id/OF15E1C8C7.661667C1-ONC1256E13.00723412@dk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: jco@cornelius-olsen.dk
  Subject: Re: Aborting connection attempt when using PQconnectStart
  In-Reply-To: <OF15E1C8C7.661667C1-ONC1256E13.00723412@dk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox