From: Bruce Momjian <bruce@momjian.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update query_id computation
Date: Mon, 03 May 2021 18:59:42 +0000
Message-ID: <E1lddnC-0001FN-7O@gemulon.postgresql.org> (raw)
Update query_id computation
Properly fix:
- the "ONLY" in FROM [ONLY] isn't hashed
- the agglevelsup field in GROUPING isn't hashed
- WITH TIES not being hashed (new in PG 13)
- "DISTINCT" in "GROUP BY [DISTINCT]" isn't hashed (new in PG 14)
Reported-by: Julien Rouhaud
Discussion: https://postgr.es/m/20210425081119.ulyzxqz23ueh3wuj@nol
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f7a97b6ec31f3f57a6154d0039c4de81ad517064
Modified Files
--------------
.../expected/pg_stat_statements.out | 151 +++++++++++++++++++++
.../pg_stat_statements/sql/pg_stat_statements.sql | 52 +++++++
src/backend/utils/misc/queryjumble.c | 4 +
3 files changed, 207 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: bruce@momjian.us
Subject: Re: pgsql: Update query_id computation
In-Reply-To: <E1lddnC-0001FN-7O@gemulon.postgresql.org>
References: <E1lddnC-0001FN-7O@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox