Re: Normalize queries starting with SET for pg_stat_statements

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Greg Sabino Mullane <htamfids@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-09-30T06:24:04Z
Lists: pgsql-hackers
On Wed, Sep 25, 2024 at 12:10:02PM +0900, Michael Paquier wrote:
> The remaining 0002 is attached for now.  I am planning to wrap that
> next week after a second lookup, except if there are any comments, of
> course.

And done with that, after a second round, tweaking some comments.

Thanks Greg for sending the patch and pushing this feature forward.
This finishes what I had on my TODO bucket in terms of normalization
when this stuff has begun in v16 with 3db72ebcbe20.
--
Michael

Commits

  1. Show values of SET statements as constants in pg_stat_statements

  2. pg_stat_statements: Expand tests for SET statements