elein@varlena.com (elein) writes:
> I cannot get debug_print_plan to print the query plan to the
> log.
/*
* Print plan if debugging.
*/
if (Debug_print_plan)
elog_node_display(DEBUG1, "plan", plan, Debug_pretty_print);
Looks like you also need to have server_min_messages <= DEBUG1.
regards, tom lane