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 1lb2VF-0004zE-8I for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Apr 2021 14:46:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lb2VE-0003Po-56 for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Apr 2021 14:46:24 +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 1lb2VD-0003Pf-DU for pgsql-hackers@lists.postgresql.org; Mon, 26 Apr 2021 14:46:23 +0000 Received: from wforward5-smtp.messagingengine.com ([64.147.123.35]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lb2V9-0001RQ-PF for pgsql-hackers@lists.postgresql.org; Mon, 26 Apr 2021 14:46:22 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailforward.west.internal (Postfix) with ESMTP id D251316B2; Mon, 26 Apr 2021 10:46:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 26 Apr 2021 10:46:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=z11QnJEU1nWsucO75fsohdEJW0CDZI3pKJqObRE5g Jo=; b=p6PeZ1zwiDOtje10CI6qoAAWQWSxP3WYK9TKWP6q/xLeOmmPvmQ7Ar1Ip 2wEfp7elwMQcvcI/vAn8T7yN1BhvUAJdfZyqnkgnpJrxxPUyFJia81xzUUUfRXOy Wn+owY+qsmoiRYyvlKZP1+OLxKyys09/d8jMy+QqYwg+8GDT37a6UyQ462v4QVor 3pqBHRD5ZaKsh1uYdb88/oSwQQeEI8Pb9Kc3Ro0PRDeRMJ9Rwd37bWKRcZEwkPe/ IsqfLzGeAvEtxuRbF2jBBUzXBT1QUsN5EYQP2ud0QR0p7vpoq8ZI8T18hPgmV8Xo 8i2CtsIRJlWDCnM7Txhj3Xh2/Y+HA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddukedgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepleevheehueeiudeiteei tdekueetleefteejffeiffdugedvffdvffdtiedvueeknecukfhppeeluddrudegrddvvd egrdduvddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepphgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: from laptop206oxuk.local (p5b0ee078.dip0.t-ipconnect.de [91.14.224.120]) by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Apr 2021 10:46:14 -0400 (EDT) Subject: Re: compute_query_id and pg_stat_statements To: Tom Lane , Bruce Momjian Cc: Magnus Hagander , Fujii Masao , PostgreSQL Developers References: <35457b09-36f8-add3-1d07-6034fa585ca8@oss.nttdata.com> <20210424152220.GL7629@momjian.us> <20210424170908.GM7629@momjian.us> <1709439.1619286231@sss.pgh.pa.us> From: Peter Eisentraut Message-ID: Date: Mon, 26 Apr 2021 16:46:12 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <1709439.1619286231@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 24.04.21 19:43, Tom Lane wrote: > 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 think people can understand "add pg_stat_statements to shared_preload_libraries" and "install the extension". You have to turn it on somehow after all. Now there is the additional burden of turning on this weird setting that no one understands. That's a 50% increase in burden. And almost no one will want to use a nondefault setting. pg_stat_statements is pretty popular. I think leaving in this requirement will lead to widespread confusion and complaints.