-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Aaron Turner asked: > So I'm trying to track down a problem with my program which forks > needing both parent and children to have access to the database via > Class::DBI. The basic issue I'm having is that after the first child > exits, the parent's DBI connection seems to get mangled, because it > can no longer find the prepared statements created by Class::DBI. Tim Bunce wrote: > Enabling DBI trace in the client may shed some light on it. The DBD::Pg > driver may not be honouring InactiveDestroy. For the record, DBD::Pg does support InactiveDestroy, and we even include it as part of our test suite. Viewing it might even help the original poster. The tests in question are at the bottom of this file: http://search.cpan.org/src/DBDPG/DBD-Pg-1.43/t/02attribs.t Note that "$dbh=undef" is not needed - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200511080930 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iD8DBQFDcLchvJuQZxSWSsgRAoAzAKD5eklD7WyaFmLFVxAuHj3N/wKOegCfdC6a QOag2Tzckg9a4cqG1oVKqRg= =+mOg -----END PGP SIGNATURE-----
