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

From: Tom Lane
Subject: Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"
Date: ,
Msg-id: 3261.1112889464@sss.pgh.pa.us
(view: Whole thread, Raw)
In response to: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"  ("Mohan, Ross")
List: 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 by date:

From: "Jim C. Nasby"
Date:
Subject: Re: [HACKERS] Recognizing range constraints (was Re: Plan for relatively simple query seems to be very inefficient)
From: Tom Lane
Date:
Subject: Re: Recognizing range constraints (was Re: Plan for relatively simple query seems to be very inefficient)