Re: how to set CACHEDEBUG ?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: how to set CACHEDEBUG ?
Дата
Msg-id 201004250211.o3P2Bpi02448@momjian.us
обсуждение исходный текст
Ответ на how to set CACHEDEBUG ?  (sunpeng <bluevaley@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andre Lopes
Дата:
Сообщение: Problem compiling function with BEGIN WORK; COMMIT WORK;
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Problem compiling function with BEGIN WORK; COMMIT WORK;