Re: Yet more logging questions - Mailing list pgsql-hackers

From mlw
Subject Re: Yet more logging questions
Date
Msg-id 3C0A4C89.E2B97ADE@mohawksoft.com
Whole thread Raw
In response to Yet more logging questions  (mlw <markw@mohawksoft.com>)
List pgsql-hackers
Tom Lane wrote:
> 
> mlw <markw@mohawksoft.com> writes:
> > I was wondering if there was a way to log the "explain" of a query.
> 
> Being a NOTICE, it *is* logged.

Sorry, I didn't make my intentions clear. I mean as a function of normal query
operation.

The debug_print_plan is VERY verbose. Is there an option which does the
equivilent of an EXPLAIN on a submitted query?

For instance, I would like to be able to do something like this:

debug_print_query = true    
debug_print_explain = true    #my own fictional directive
show_query_stats = true


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql misbehaves because of a simple typo
Next
From: mlw
Date:
Subject: configuration files and PGDATA variable