here is a new version:

    - "track_planning" GUC added
         to permit to keep previous behavior unchanged
    - columns names have been changed / added:
         total_plan_time, total_exec_time, total_time
    - trailing whitespaces and comments wider than 80 characters
         not fixed
    - "if (jstate.clocations_count > 0) pgss_store(pstate->p_sourcetext,..."
         has been reverted
    - expose query text to the planner
         won't fix (out of my knowledge)
    - "Assert(planning_time > 0 && total_time > 0);"
         moved at the beginning of pgss_store

Regards
PAscal

Attachment: pgss_add_planning_counters_v3
Description: pgss_add_planning_counters_v3

Reply via email to