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.96) (envelope-from ) id 1wxYJg-002pmj-1F for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Aug 2026 23:06:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wxYJf-00FBm7-11 for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Aug 2026 23:06:27 +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.96) (envelope-from ) id 1wxYJf-00FBly-04 for pgsql-hackers@lists.postgresql.org; Fri, 21 Aug 2026 23:06:27 +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.98.2) (envelope-from ) id 1wxYJd-00000001oIK-1KaE for pgsql-hackers@lists.postgresql.org; Fri, 21 Aug 2026 23:06:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 67LN6NPA4114185; Fri, 21 Aug 2026 19:06:23 -0400 From: Tom Lane To: "Tristan Partin" cc: "pgsql-hackers" Subject: Re: Drop "leaked" resources in sqljson/sqljson_queryfuncs regression tests In-reply-to: References: Comments: In-reply-to "Tristan Partin" message dated "Fri, 21 Aug 2026 22:59:01 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4114183.1787353583.1@sss.pgh.pa.us> Date: Fri, 21 Aug 2026 19:06:23 -0400 Message-ID: <4114184.1787353583@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Tristan Partin" writes: > Found these "leaks" while doing some other work in the SQL/JSON area. > Did some analysis to find that this should be backpatched through 17. You sure those aren't intentional? One use of the regression database's ending state is to serve as a test case for pg_upgrade, so we like to leave around objects that are unique in some way. regards, tom lane