Hi all,
This is patch for TODO item: Improve ability to display optimizer analysis using OPTIMIZER_DEBUG
As per as suggestion in the mailing list which is to replace current mechanism of getting optimizer log via OPTIMIZER_DEBUG macro
to something more configurable (which doesn't require rebuilding postgres from source code). This patch replaces OPTIMIZER_DEBUG
by introducing a GUC show_optimizer_log which can be configured on and off to display (or hide) previously generated log from stdout to postmaster's log.
Please check attached patch, any feedback is appreciated.
--
Regards,
Ankit Kumar Pandey