Re: Normalization of utility queries in pg_stat_statements
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-03-08T06:19:33Z
Lists: pgsql-hackers
Attachments
- 0001-Apply-normalization-to-CALL-statements.patch (text/x-diff) patch 0001
On Fri, Mar 03, 2023 at 09:37:27AM +0900, Michael Paquier wrote: > Thanks for double-checking, applied 0001 to finish this part of the > work. I am attaching the remaining bits as of the attached, combined > into a single patch. Doing so as a single patch was not feeling right as this actually fixes issues with the location calculations for the Const node, so I have split that into three commits and finally applied the whole. As a bonus, please see attached a patch to apply the normalization to CALL statements using the new automated infrastructure. OUT parameters can be passed to a procedure, hence I guess that these had better be silenced as well. This is not aimed at being integrated, just for reference. -- Michael
Commits
-
Reflect normalization of query strings for utilities in pg_stat_statements
- daa8365a9007 16.0 landed
-
Refine query jumbling handling for CallStmt
- a4e003338d18 16.0 landed
-
Ignore IntoClause.viewQuery in query jumbling
- d69cd3a2e29c 16.0 landed
-
Improve cleanup phases in regression tests of pg_stat_statements
- 9a714b9d6ec0 16.0 landed
-
Refactor more the regression tests of pg_stat_statements
- d0028e35a05a 16.0 landed
-
doc: Update pg_stat_statements about query ID calculation of utilities
- 6a88a058614b 16.0 landed
-
Expand regression tests of pg_stat_statements for utility queries
- de2aca288569 16.0 landed
-
Refactor tests of pg_stat_statements for planning, utility and level tracking
- e8dbdb15dbc8 16.0 landed