Sample values for pg_stat_statements

From: Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Sample values for pg_stat_statements
Date: 2017-12-31 11:34:17
Message-ID: 20f010cc-2a29-9653-8101-480738b5620c@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Often when looking through pg_stat_statements, it would be nice to have
some sample values for the constants and parameters. This patch
implements that by taking the values from the first execution of the
normalized query.

To keep things reasonable, there is a limit on how big the parameters
can be.

This patch is based off of 5303ffe71b.
--
Vik Fearing +33 6 46 75 15 36
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

Attachment Content-Type Size
pgss.1.patch text/x-patch 40.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Dolgov 2017-12-31 11:55:47 Re: [HACKERS] WIP Patch: Precalculate stable functions, infrastructure v1
Previous Message Fabien COELHO 2017-12-31 11:18:31 Re: [PATCH] GET DIAGNOSTICS FUNCTION_NAME