agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Rowland Johnson <rowland@vogon.llnl.gov>
To: postgres@postgres.Berkeley.EDU
Date: Thu, 25 May 95 18:41:14 PDT
Message-ID: <9505260141.AA00451@vogon.llnl.gov> (raw)
I have an application that uses libpq function calls. Upon receipt of
a signal from another application I need to abort whatever is going on
inside of libpq. This is easy enough with a setjmp/longjump, but is there a way
to cause whatever libpq function that is executing to finish up
gracefully and return? It seems that I'm always getting interrupted
while libpq is doing a malloc or a free. Longjumping out causes the
malloc or free to be re-entered later, leading to a SEGV later.
Rowland R Johnson rowland@vogon.llnl.gov
510-423-3064
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
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: postgres@postgres.berkeley.edu
Cc: rowland@vogon.llnl.gov
Subject: Re:
In-Reply-To: <9505260141.AA00451@vogon.llnl.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox