Re: debug_print_plan

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: elein(at)varlena(dot)com (elein)
Cc: pgsql-general(at)postgresql(dot)org, Josh Berkus <josh(at)agliodbs(dot)com>
Subject: Re: debug_print_plan
Date: 2005-03-23 20:18:46
Message-ID: 13946.1111609126@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

elein(at)varlena(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dann Corbit 2005-03-23 20:30:29 Re: postgres oracle emulation question
Previous Message elein 2005-03-23 20:18:35 Re: debug_print_plan