As there are now 3 locking times on pgss hash struct, one day or an other, somebody will ask for a GUC to disable this feature (to be able to run pgss unchanged with only one lock as today).
With this GUC, pgss_store should be able to store the query text and accumulated execution duration in the same call (as today). Will try to provide this soon. -- Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html