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

From Andreas Karlsson
Subject Re: Planning time in explain/explain analyze
Date
Msg-id 52E960E8.2060005@proxel.se
Whole thread Raw
In response to Re: Planning time in explain/explain analyze  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Planning time in explain/explain analyze  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
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.

/Andreas

Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Patch: show xid and xmin in pg_stat_activity and pg_stat_replication
Next
From: Heikki Linnakangas
Date:
Subject: Re: [PATCH] Use MAP_HUGETLB where supported (v3)