On Thu, 2004-07-08 at 21:42, Andrew Pimlott wrote: > - Have the database drivers set the close-on-exec flag of the fd used to > connect to the database. This makes sense to me, because after an > exec, there is usually no way to recover the connection (does any > database library allow this?).
Yes - Sybase OpenClient has always allowed the re-use of open connections across forks (and hence across execs). Obviously the connections have to be in a stable state to be reused, but it does work. Michael -- Michael Peppler Data Migrations, Inc. [EMAIL PROTECTED] http://www.peppler.org/ Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or long term contract positions - http://www.peppler.org/resume.html
