Re: CDBI and mod_perl

[prev] [thread] [next] [Date index for 2005/02/10]

From: Drew Wilson
Subject: Re: CDBI and mod_perl
Date: 22:27 on 10 Feb 2005
Thanks for the heads-up.

Rather than ask you to repeat yourself, I'll see if I've found your  
previous advice. Is this what you're talking about?  
<http://mathforum.org/epigone/modperl/teuthocrix/ 
1098821949.2903.49.camel@xxxxxxxxx.xxxxxxxxxxx>

Currently we wrap all our code in eval{} and call rollback explicitly  
on error. Will that work?

Thanks again,

Drew

On Feb 10, 2005, at 2:16 PM, Perrin Harkins wrote:

> On Thu, 2005-02-10 at 13:54 -0800, Drew Wilson wrote:
>> FWIW, we use Class::DBI and Apache::DBI under mod_perl connecting to
>> Postgresql and we haven't had any issues.
>>
>> The db connection is established lazily, which means they get
>> established in the child processes.
>
> The only trouble here is that Apache::DBI's automatic rollback will  
> not
> work.  So, if your code dies in the middle of a transaction, you'll be
> in big trouble.  This is why I tell people they need to override  
> db_Main
> to make it work with Apache::DBI when using transactions.
>
> - Perrin
>

(message missing)

Column Names
Justin Tocci 05:19 on 10 Feb 2005

Re: Column Names
Peter Speltz 20:36 on 10 Feb 2005

Re: Column Names
Rod McChesney 20:56 on 10 Feb 2005

CDBI and mod_perl
Rod McChesney 20:58 on 10 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 21:37 on 10 Feb 2005

Re: CDBI and mod_perl
Drew Wilson 21:54 on 10 Feb 2005

Re: CDBI and mod_perl
karjala_lists 13:59 on 15 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 22:16 on 10 Feb 2005

Re: CDBI and mod_perl
Drew Wilson 22:27 on 10 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 22:46 on 10 Feb 2005

Re: CDBI and mod_perl
Edward J. Sabol 23:42 on 10 Feb 2005

Re: CDBI and mod_perl
Rod McChesney 01:55 on 12 Feb 2005

Re: CDBI and mod_perl
Edward J. Sabol 19:43 on 12 Feb 2005

Re: CDBI and mod_perl
Rod McChesney 18:48 on 14 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 21:23 on 14 Feb 2005

Re: CDBI and mod_perl
Edward J. Sabol 06:53 on 14 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 21:14 on 14 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 19:59 on 15 Feb 2005

Re: CDBI and mod_perl
Tim Bunce 22:33 on 15 Feb 2005

Re: CDBI and mod_perl
Tony Bowden 22:12 on 18 Feb 2005

Re: CDBI and mod_perl
=?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= 22:19 on 18 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 22:36 on 18 Feb 2005

Re: CDBI and mod_perl
Tony Bowden 11:23 on 19 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 13:56 on 19 Feb 2005

Re: CDBI and mod_perl
Tony Bowden 15:57 on 19 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 16:21 on 19 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 16:24 on 19 Feb 2005

Re: CDBI and mod_perl
Tony Bowden 09:54 on 20 Feb 2005

Re: CDBI and mod_perl
Perrin Harkins 21:31 on 20 Feb 2005

Re: CDBI and mod_perl
Tony Bowden 22:19 on 20 Feb 2005

Generated at 12:48 on 22 Feb 2005 by mariachi v0.52