Re: Planning time in explain/explain analyze - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Planning time in explain/explain analyze
Date
Msg-id CA+TgmoZSG8kiYM54TVrjZb2-uBm7Kix+Qb+cPYvvPvJKidw5hA@mail.gmail.com
Whole thread Raw
In response to Re: Planning time in explain/explain analyze  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: Planning time in explain/explain analyze  (Andreas Karlsson <andreas@proxel.se>)
List pgsql-hackers
On Wed, Jan 29, 2014 at 3:13 PM, Andreas Karlsson <andreas@proxel.se> wrote:
> On 01/29/2014 09:01 PM, Robert Haas wrote:
>> Cool.  I propose adding one parameter rather than two to
>> ExplainOnePlan() and making it of type instr_time * rather than
>> passing an instr_time and a bool.  If you don't want to include the
>> planning time, pass NULL; if you do, pass a pointer to the instr_time
>> you want to print.  I think that would come out slightly neater than
>> what you have here.
>
> Excellent suggestion, thanks! New patch attached.

Committed with minor doc changes.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Removing xloginsert_slots?
Next
From: Peter Geoghegan
Date:
Subject: Re: Add min and max execute statement time in pg_stat_statement