Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"

От: Tom Lane
Тема: Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"
Дата: ,
Msg-id: 3261.1112889464@sss.pgh.pa.us
(см: обсуждение, исходный текст)
Ответ на: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"  ("Mohan, Ross")
Список: pgsql-performance

"Mohan, Ross" <> writes:
> Is compiling postmaster with profiling support just a flag
> in the build/make? Or is there something more involved?

cd .../src/backend
make PROFILE="-pg -DLINUX_PROFILE" all
reinstall binary

You don't need -DLINUX_PROFILE if not on Linux, of course.

            regards, tom lane


В списке pgsql-performance по дате сообщения:

От: "Jim C. Nasby"
Дата:
Сообщение: Re: [HACKERS] Recognizing range constraints (was Re: Plan for relatively simple query seems to be very inefficient)
От: Tom Lane
Дата:
Сообщение: Re: Recognizing range constraints (was Re: Plan for relatively simple query seems to be very inefficient)