Automatically managing inactiveDestroy property.

2008-03-24 Thread Lenga, Yair
Hi, I have a complex CGI program, which need to call external program, while keeping the DBI connection open. I'm struggling with the "InactiveDestroy" property. Per the DBI perldoc: This attribute is specifically designed for use in Unix applica- tions that "fork" child pr

Re: ODBC 3.5 spec ?

2008-03-24 Thread Dean Arnold
Tim Bunce wrote: On Sun, Mar 23, 2008 at 12:49:22PM -0700, Dean Arnold wrote: I've finally have a reason to write an ODBC wrapper around Perl/DBI (not DBD::ODBC, but the other way around). Strange what some people have to do for a living! :) Do you mean a Perl-level wrapper (ala Win32::ODBC A

Re: The max_rows attribute to fetchall_arrayref no longer works

2008-03-24 Thread Tim Bunce
On Sun, Mar 23, 2008 at 03:59:23PM -, Greg Sabino Mullane wrote: > > I noticed a failing test when using DBI 1.603 on DBD::Pg and > tracked the error back to this new line inside of pure-perl > fetchall_arrayref in DBI.pm: > > return undef if $max_rows and not $sth->{Active}; > > As far as I

Re: ODBC 3.5 spec ?

2008-03-24 Thread Tim Bunce
On Sun, Mar 23, 2008 at 12:49:22PM -0700, Dean Arnold wrote: > I've finally have a reason to write an ODBC wrapper around > Perl/DBI (not DBD::ODBC, but the other way around). Strange what some people have to do for a living! :) Do you mean a Perl-level wrapper (ala Win32::ODBC API) or a C-level