how to set CACHEDEBUG ?
Started by sunpengalmost 16 years ago2 messagesgeneral
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
peng
Re: how to set CACHEDEBUG ?
sunpeng wrote:
I noticed there is a piece of code:
#ifdef CACHEDEBUG
#define InitCatCache_DEBUG2 \
do { \
elog(.......
} while(0)
#else
#define InitCatCache_DEBUG2
#endifNow 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