Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1laMK1-0007Q7-6j for pgsql-hackers@arkaria.postgresql.org; Sat, 24 Apr 2021 17:44:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1laMJz-0004u5-AW for pgsql-hackers@arkaria.postgresql.org; Sat, 24 Apr 2021 17:43:59 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1laMJz-0004ty-3d for pgsql-hackers@lists.postgresql.org; Sat, 24 Apr 2021 17:43:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1laMJs-00041U-Pk for pgsql-hackers@lists.postgresql.org; Sat, 24 Apr 2021 17:43:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 13OHhpKx1709440; Sat, 24 Apr 2021 13:43:51 -0400 From: Tom Lane To: Bruce Momjian cc: Magnus Hagander , Fujii Masao , PostgreSQL Developers Subject: Re: compute_query_id and pg_stat_statements In-reply-to: <20210424170908.GM7629@momjian.us> References: <35457b09-36f8-add3-1d07-6034fa585ca8@oss.nttdata.com> <20210424152220.GL7629@momjian.us> <20210424170908.GM7629@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Sat, 24 Apr 2021 13:09:08 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1709438.1619286231.1@sss.pgh.pa.us> Date: Sat, 24 Apr 2021 13:43:51 -0400 Message-ID: <1709439.1619286231@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian writes: > That's a pretty weird API. I think we just need people to turn it on > like they are doing when the configure pg_stat_statements anyway. > pg_stat_statements already requires configuration anyway. Agreed. If pg_stat_statements were zero-configuration today then this would be an annoying new burden, but it isn't. I haven't looked, but did we put anything into pg_stat_statements to make it easy to tell if you've messed up this setting? regards, tom lane