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 1tzNLG-001F61-U8 for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Mar 2025 22:10:51 +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 1tzNLF-00DIFc-H1 for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Mar 2025 22:10:49 +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 1tzNLF-00DIF4-3V for pgsql-hackers@lists.postgresql.org; Mon, 31 Mar 2025 22:10:49 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tzMVv-002DCc-1y for pgsql-hackers@lists.postgresql.org; Mon, 31 Mar 2025 21:17:59 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 2E6D234EBD7 for ; Mon, 31 Mar 2025 23:17:26 +0200 (CEST) Received: from s981.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 0A99734E155; Mon, 31 Mar 2025 23:17:26 +0200 (CEST) Received: from s471.loopia.se (unknown [172.22.191.5]) by s981.loopia.se (Postfix) with ESMTP id 06EF122B16C2; Mon, 31 Mar 2025 23:17:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s471.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s980.loopia.se ([172.22.191.5]) by s471.loopia.se (s471.loopia.se [172.22.190.35]) (amavisd-new, port 10024) with LMTP id 71Iu3E29q4-C; Mon, 31 Mar 2025 23:17:25 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s980.loopia.se (Postfix) with ESMTPSA id 67A8D220155C; Mon, 31 Mar 2025 23:17:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1743455845; bh=CUQVF6t1jjJGDnK9coFu2MfZ64Gfpka0UVL1gInP5WE=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=A91J0awjCgk0dy98dUl8sQs+j9IPBY06ufemt4C29+s2bO6AbctNIS9D4Tnzuyyqr dqSBm8A6gfqX/ZNaO0KReqjqn35R/0P0liliO1sQrjSLg2z3d7oaJ7JYCAuFPZCiSk LAx2RVUcwE1ZSn0colKb0bfUG/pghHPgmOYo/LVVMk87LKfyAovDHNL8usPybfVyZ1 +L3kY63ziHJCFcOGYrYTev4apEennTGWM+xXhrfURIfmVULBhK79Cg63H/MJ+yfMnJ OQFwHmPBs1v3dDq5NToSMblNio6cLdSUym5S/FKGV5ohthoPmHnv9oxKvZnduRzRPO 2WSBWooHcDw1A== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: Test to dump and restore objects left behind by regression From: Daniel Gustafsson In-Reply-To: <202503281812.33bmlx2yuy7w@alvherre.pgsql> Date: Mon, 31 Mar 2025 23:17:15 +0200 Cc: Tom Lane , Ashutosh Bapat , Michael Paquier , vignesh C , Peter Eisentraut , PostgreSQL Hackers Content-Transfer-Encoding: 7bit Message-Id: <730EAD98-E876-4706-A9B0-4606ACB1B85B@yesql.se> References: <202503281812.33bmlx2yuy7w@alvherre.pgsql> To: Alvaro Herrera X-Mailer: Apple Mail (2.3776.700.51.11.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 28 Mar 2025, at 19:12, Alvaro Herrera wrote: > > On 2025-Mar-28, Tom Lane wrote: > >> I think instead of going this direction, we really need to create a >> separately-purposed script that simply creates "one of everything" >> without doing anything else (except maybe loading a little data). >> I believe it'd be a lot easier to remember to add to that when >> inventing new SQL than to remember to leave something behind from the >> core regression tests. This would also be far faster to run than any >> approach that involves picking a random subset of the core test >> scripts. > > FWIW this sounds closely related to what I tried to do with > src/test/modules/test_ddl_deparse; it's currently incomplete, but maybe > we can use that as a starting point. Given where we are in the cycle, it seems to make sense to stick to using the schedule we already have rather than invent a new process for generating it, and work on that for 19? -- Daniel Gustafsson