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
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
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.