Re: Memory leak!!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Memory leak!!
Дата
Msg-id 4468.1049864296@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Memory leak!!  ("P.N.Guru Prasad" <pnguruji@yahoo.com>)
Ответы Re: Memory leak!!
Re: Memory leak!!
Список pgsql-interfaces
"P.N.Guru Prasad" <pnguruji@yahoo.com> writes:
> while (1) {
>   print "sql executed and returned :", $Dbh->prepare("select user_id from
> users limit 1")->execute, "\n"; 
> }

I'm not a DBI user, but I'd kinda expect that executing a query would
result in an object holding the results from that query.  Don't you need
to do something to close/delete the result objects you're generating?
        regards, tom lane



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Rudy Lippan
Дата:
Сообщение: Re: [Dbdpg-general] Re: Release of DBD-pg 1.22
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] More protocol discussion: breaking down query processing