Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r5plK-00FIR5-3b for pgsql-performance@arkaria.postgresql.org; Wed, 22 Nov 2023 16:07:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r5plI-00A5bk-IZ for pgsql-performance@arkaria.postgresql.org; Wed, 22 Nov 2023 16:07:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r5plI-00A5bb-8c for pgsql-performance@lists.postgresql.org; Wed, 22 Nov 2023 16:07:36 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r5plB-006pbo-PA for pgsql-performance@lists.postgresql.org; Wed, 22 Nov 2023 16:07:35 +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 3AMG7SUM1696364; Wed, 22 Nov 2023 11:07:28 -0500 From: Tom Lane To: Jean-Christophe Boggio cc: pgsql-performance@lists.postgresql.org Subject: Re: Performance degradation with CTEs, switching from PG 11 to PG 15 In-reply-to: <620b9acb-1989-43a3-839e-ff7286cebfe2@thefreecat.org> References: <6245f4b6-e608-4d87-9cd8-d0a7a1b5f9d4@thefreecat.org> <211a58a6-5741-a0a2-db97-0e79f75d9d4f@a-kretschmer.de> <620b9acb-1989-43a3-839e-ff7286cebfe2@thefreecat.org> Comments: In-reply-to Jean-Christophe Boggio message dated "Wed, 22 Nov 2023 16:58:01 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1696362.1700669248.1@sss.pgh.pa.us> Date: Wed, 22 Nov 2023 11:07:28 -0500 Message-ID: <1696363.1700669248@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jean-Christophe Boggio writes: > I did upgrade :-) But we have many users for which we don't decide on > when they do upgrade so we have to keep compatibility with most versions > of PG and in that particular case (non-existence of the materialized > keyword for PG 11 and before) it is a real problem. PG 11 is out of support as of earlier this month, so your users really need to be prioritizing getting onto more modern versions. regards, tom lane