Re: how to set CACHEDEBUG ? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: how to set CACHEDEBUG ?
Date
Msg-id 201004250211.o3P2Bpi02448@momjian.us
Whole thread Raw
In response to how to set CACHEDEBUG ?  (sunpeng <bluevaley@gmail.com>)
List 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@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

pgsql-general by date:

Previous
From: Andre Lopes
Date:
Subject: Problem compiling function with BEGIN WORK; COMMIT WORK;
Next
From: Craig Ringer
Date:
Subject: Re: Problem compiling function with BEGIN WORK; COMMIT WORK;