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 1mOO1c-0008Pz-AQ for pgsql-general@arkaria.postgresql.org; Thu, 09 Sep 2021 17:39:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mOO1Y-00025C-E5 for pgsql-general@arkaria.postgresql.org; Thu, 09 Sep 2021 17:39:44 +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 1mOO1Y-000250-56 for pgsql-general@lists.postgresql.org; Thu, 09 Sep 2021 17:39:44 +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 1mOO1W-0004E0-4n for pgsql-general@postgresql.org; Thu, 09 Sep 2021 17:39:43 +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 189HddDG3720779; Thu, 9 Sep 2021 13:39:39 -0400 From: Tom Lane To: Richard Michael cc: "David G. Johnston" , "pgsql-general@postgresql.org" Subject: Re: How to observe plan_cache_mode transition from custom to generic plan? In-reply-to: References: <3684101.1631203320@sss.pgh.pa.us> Comments: In-reply-to Richard Michael message dated "Thu, 09 Sep 2021 18:09:05 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3720777.1631209179.1@sss.pgh.pa.us> Date: Thu, 09 Sep 2021 13:39:39 -0400 Message-ID: <3720778.1631209179@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Richard Michael writes: > Would a tiny patch to the PREPARE docs be accepted? I'd like to help > clarify investigating `plan_cache_mode` for future readers. What did you have in mind? (I'm kind of allergic to documenting the plan-caching behavior in too much detail, because I keep expecting us to change it. On the other hand, nobody's put forward any improvement proposals.) regards, tom lane