Re: debug_print_plan

From: elein(at)varlena(dot)com (elein)
To: Michael Fuhr <mike(at)fuhr(dot)org>
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:35
Message-ID: 20050323201835.GB6611@varlena.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Aha you are right. I tried this but set log min error statement
instead and so *that* didn't work.

Setting the right variable worked and I can now see the plan.

Thanks!!
--elein

On Wed, Mar 23, 2005 at 01:05:30PM -0700, Michael Fuhr wrote:
> On Wed, Mar 23, 2005 at 11:38:21AM -0800, elein wrote:
> >
> > I cannot get debug_print_plan to print the query plan to the
> > log. I have set it in the postgresql.conf file and bounced
> > the server. The output is simply not there. show shows
> > that the value is set, but no output.
>
> What's your log_min_messages setting? According to the documentation,
> debug_print_* needs DEBUG1 or lower.
>
> http://www.postgresql.org/docs/8.0/static/runtime-config.html#RUNTIME-CONFIG-LOGGING-WHAT
>
> --
> Michael Fuhr
> http://www.fuhr.org/~mfuhr/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-03-23 20:18:46 Re: debug_print_plan
Previous Message Michael Fuhr 2005-03-23 20:13:41 Re: Changing constraints to deferrable