Re: Release connections in MODPERL
От | Brett W. McCoy |
---|---|
Тема | Re: Release connections in MODPERL |
Дата | |
Msg-id | Pine.LNX.4.30.0101102028180.19850-100000@chapelperilous.net обсуждение исходный текст |
Ответ на | Release connections in MODPERL ("D. Duccini" <duccini@backpack.com>) |
Ответы |
Re: Release connections in MODPERL
Re: Release connections in MODPERL |
Список | pgsql-novice |
On Wed, 10 Jan 2001, D. Duccini wrote: > normally in PERL it shuts it down when the perl goes away, but in mod > perl, it doesn't go away Yes, mod_perl keeps your code in memory, and you can't be sloppy like you can be with plain old CGI, so you need to explicitly close your database conenctions (in DBI, I think it's the disconnect() method). Note also, if you are using Apache::DBI, it does some cool things like connection pooling and stuff, specifically for use with mod_perl. -- Brett http://www.chapelperilous.net/~bmccoy/ --------------------------------------------------------------------------- I know how to do SPECIAL EFFECTS!!
В списке pgsql-novice по дате отправления: