On Tue, 3 Jul 2001 10:15:26 -0400
Jeff Boes <[EMAIL PROTECTED]> wrote:

> The following is my test case:

Oopsie. There's a chunk of bad code in there, because I was writing this against my 
database abstraction layer and then took that out to test against DBI directly. I've 
corrected the code below, but it performs the same way.


use strict;
use DBI;
my $db = DBI->connect('dbi:Pg:dbname=nexcerpt','','', { PrintError => 0 });
print 'main: ', @{ $db->selectrow_arrayref(q{select count(*) from pg_database} ) }, 
"\n";
$db->{InactiveDestroy} = 0;
exit if fork();
print 'child: ', @{ $db->selectrow_arrayref(q{select count(*) from pg_database}) }, 
"\n";


-- 
Jeff Boes                                             vox 616.226.9550
Database Engineer                                     fax 616.349.9076
Nexcerpt, Inc.                                      [EMAIL PROTECTED]

Reply via email to