Re: how to set CACHEDEBUG ?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: sunpeng <bluevaley(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to set CACHEDEBUG ?
Date: 2010-04-25 02:11:51
Message-ID: 201004250211.o3P2Bpi02448@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

sunpeng wrote:
> I noticed there is a piece of code:
> #ifdef CACHEDEBUG
> #define InitCatCache_DEBUG2 \
> do { \
> elog(.......
> } while(0)
> #else
> #define InitCatCache_DEBUG2
> #endif
>
> Now I'd like to set CACHEDEBUG, how to set up it ? where ?
> thanks

You compile with that flag, like:

cc -DCACHEDEBUG

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-04-25 02:41:11 Re: Problem compiling function with BEGIN WORK; COMMIT WORK;
Previous Message Andre Lopes 2010-04-25 01:07:29 Problem compiling function with BEGIN WORK; COMMIT WORK;