Re: pg_stat_statements: calls under-estimation propagation

Sameer Thakur <samthakur74@gmail.com>

From: Sameer Thakur <samthakur74@gmail.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2013-11-18T09:54:16Z
Lists: pgsql-hackers

Attachments

Hello,
Please find v10 of patch attached. This patch addresses following
review comments
1. Removed errcode and used elogs for error "pg_stat_statements schema
is not supported by its binary"
2. Removed comments and other code formatting not directly relevant to
patch functionality
3. changed position of query_id in view to userid,dbid,query_id..
4 cleaned the patch some more to avoid unnecessary  whitespaces, newlines.

I assume the usage of PGSS_TUP_LATEST after explanation given.
Also the mixing of PG_VERSION_NUM with query_id is ok after after
explanation given.

regards
Sameer

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Improve management of "sticky" entries in contrib/pg_stat_statements.