"Mohan, Ross" <RMohan@arbinet.com> 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