How can I call the method in OPTIMIZER_DEBUG?

Поиск
Список
Период
Сортировка
От Zhan Li
Тема How can I call the method in OPTIMIZER_DEBUG?
Дата
Msg-id CANp-BfZAfwkk=5aNTGzYE3X5QqWc8LeyQMrm6HWSqsgMkXgxVA@mail.gmail.com
обсуждение исходный текст
Список pgsql-novice
I have built PostgreSQL 9.3.1 from source code. But I want to use the print_path() method in src/backend/optimizer/path/allpaths.c which is at the bottom of allpaths.c in "DEBUG SUPPORT" section. My question is: a) How to run the postgresql server, or how to compile the source code so that I can call the print_path() method; b) Where can I find the output of printf statements in print_path()? In Log file? Because I assume it wouldn't output to the terminal. 

Best Regards,
Zhan

В списке pgsql-novice по дате отправления:

Предыдущее
От: Claudio Poli
Дата:
Сообщение: Re: manipulate and return row inside a function
Следующее
От: John Meyer
Дата:
Сообщение: Stack builder issue