Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id SAA29711 for postgres-redist; Thu, 25 May 1995 18:41:16 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199505260141.SAA29711@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from vogon.llnl.gov (vogon.llnl.gov [128.115.24.8]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id SAA29701 for <postgres@postgres.berkeley.edu>; Thu, 25 May 1995 18:41:15 -0700
Received: by vogon.llnl.gov (4.1/LLNL-1.18)
	id AA00451; Thu, 25 May 95 18:41:14 PDT
Date: Thu, 25 May 95 18:41:14 PDT
From: rowland@vogon.llnl.gov (Rowland Johnson)
Message-Id: <9505260141.AA00451@vogon.llnl.gov>
To: postgres@postgres.Berkeley.EDU
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Thu, 25 May 95 18:41:16 -0700
Resent-XMts: smtp

  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/
