Re: BUG #1831: plperl gives error after reconnect.

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: BUG #1831: plperl gives error after reconnect.
Дата
Msg-id 20050819151045.GA90909@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: BUG #1831: plperl gives error after reconnect.  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-bugs
On Fri, Aug 19, 2005 at 01:56:39PM -0000, Greg Sabino Mullane wrote:
> > Tom Lane once mentioned that "Valgrind is fairly useless for debugging
> > postgres," but has anybody tried it for this problem?
>
> I've got valgrind working, but not sure exactly how to use it to debug
> this problem. What's the procedure?

I haven't used valgrind much, but I was thinking of initdb'ing a
test cluster, loading the PL/Perl functions into it, and running
valgrind on a single-user-mode postgres process in which you issue
a query that causes the problem.  I'm wondering if valgrind's memory
checks will show the code accessing memory that hasn't been initialized.

--
Michael Fuhr

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: [GENERAL] BUG #1830: Non-super-user must be able to copy
Следующее
От: Jörg Haustein
Дата:
Сообщение: Operator "=" not unicode-safe?