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
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера