From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mohan, Ross <RMohan@arbinet.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"
Date: Thu, 07 Apr 2005 11:57:44 -0400
Message-ID: <3261.1112889464@sss.pgh.pa.us> (raw)
In-Reply-To: <CC74E7E10A8A054798B6611BD1FEF4D30625DA3B@vamail01.thexchange.com>
References: <CC74E7E10A8A054798B6611BD1FEF4D30625DA3B@vamail01.thexchange.com>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, RMohan@arbinet.com
Subject: Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"
In-Reply-To: <3261.1112889464@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox