Re: compute_query_id and pg_stat_statements
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Bruce Momjian <bruce@momjian.us>
Cc: Julien Rouhaud <rjuju123@gmail.com>, Fujii Masao <masao.fujii@oss.nttdata.com>, Pavel Stehule <pavel.stehule@gmail.com>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, Magnus Hagander <magnus@hagander.net>, Michael Paquier <michael@paquier.xyz>, Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>, Stephen Frost <sfrost@snowman.net>, Christoph Berg <myon@debian.org>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-05-15T23:01:25Z
Lists: pgsql-hackers
On 2021-May-15, Bruce Momjian wrote: > On Sat, May 15, 2021 at 02:21:59PM -0400, Álvaro Herrera wrote: > > I wonder why the initial line says "query hash" instead of "query > > identifier". Do we want to say "hash" everywhere? Why didn't we name > > the GUC "compute_query_hash" in that case? > > It is queryid (no underscore) in pg_stat_statements, which was a whole > different discussion. ;-) Yeah, I realize that, but I wonder if we shouldn't use the term "query identifier" instead of "query hash" in that paragraph. > I also added Alvaro as an author of the compute_query_id item. I've been wondering if I should ask to stick my name in other features I helped get committed -- specifically the PQtrace() item and autovacuum for partitioned tables. I'll go comment in the release notes thread. -- Álvaro Herrera Valdivia, Chile "Digital and video cameras have this adjustment and film cameras don't for the same reason dogs and cats lick themselves: because they can." (Ken Rockwell)
Commits
-
Allow compute_query_id to be set to 'auto' and make it default
- cafde58b337e 14.0 landed
-
Move pg_stat_statements query jumbling to core.
- 5fd9dfa5f50e 14.0 cited