[pg-devel] [PATCH] pg-disconnect and abnormal exits

Eric Marsden eric.marsden at free.fr
Sun Nov 26 18:20:31 UTC 2006


>>>>> "vs" == Vladimir Sekissov <svg at surnet.ru> writes:

  vs> Current implementation of WITH-PG-CONNECTION forces abnormal
  vs> connection aborting on any programming error. What about to move
  vs> stream handling to PG-DISCONNECT? Here is a possible patch.
  vs> 
  vs> In this version PG-DISCONNECT is trying to close connection according
  vs> to protocol and only in case of failure or ABORT = T forces stream closing.

  this looks like a good idea to me. I'm not certain that your code
  that calls UNIX-CLOSE for CMUCL and SBCL is really useful ; don't
  these implementations already do this for the :abort t case? 

-- 
Eric Marsden




More information about the pg-devel mailing list