Re: compute_query_id and pg_stat_statements

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
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-16T02:29:52Z
Lists: pgsql-hackers
On Sat, May 15, 2021 at 05:32:58PM -0400, Bruce Momjian wrote:
> OK, new text is:
> 
> 	<listitem>
> 	<!--
> 	Author: Bruce Momjian <bruce@momjian.us>
> 	2021-04-07 [5fd9dfa5f] Move pg_stat_statements query jumbling to core.
> 	-->
> 	
> 	<para>
> 	Move query hash computation from pg_stat_statements to the core
> 	server (Julien Rouhaud)
> 	</para>
> 	
> 	<para>
> 	The new server variable compute_query_id's default of 'auto' will
> 	automatically enable query id computation when this extension
> 	is loaded.
> 	</para>
> 	</listitem>
> 
> I also added Alvaro as an author of the compute_query_id item.
  --------------------------------------------------------------

Based on the commit message, adding Alvaro was incorrect, so I will
revert this change.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.




Commits

  1. Allow compute_query_id to be set to 'auto' and make it default

  2. Move pg_stat_statements query jumbling to core.