Re: debug_print_plan - Mailing list pgsql-general

From Tom Lane
Subject Re: debug_print_plan
Date
Msg-id 13946.1111609126@sss.pgh.pa.us
Whole thread Raw
In response to debug_print_plan  (elein@varlena.com (elein))
List pgsql-general
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

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Changing constraints to deferrable
Next
From: elein@varlena.com (elein)
Date:
Subject: Re: debug_print_plan