On 01/28/2014 09:39 PM, Tom Lane wrote:
> I'm for doing the measurement in ExplainOneQuery() and not printing
> anything in code paths that don't go through there.
Reading the discussion here and realizing that my last patch was wrong I
am now in agreement with this. I have attached a patch which no longer
tries to measure planning time for prepared statements.
/Andreas