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 1w9ThM-001T7n-17 for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Apr 2026 20:03:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w9ThK-004qTx-2f for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Apr 2026 20:03:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w9ThK-004qTn-1k for pgsql-hackers@lists.postgresql.org; Sun, 05 Apr 2026 20:03:54 +0000 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w9ThH-00000000mTi-42ot for pgsql-hackers@lists.postgresql.org; Sun, 05 Apr 2026 20:03:54 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 917B9EC00DB; Sun, 5 Apr 2026 16:03:50 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Sun, 05 Apr 2026 16:03:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1775419430; x=1775505830; bh=G1TqTbfP6N apckd51mmbe2WcwxnFqVj+zFeE97pX2LQ=; b=UBvDhDOFMQjvBttqjydWpRxLK6 APmhv4sJYGrOMBbIUXYvOz7Mw9Y8yhWOzl8sjox+xZyaVBBL329/6qLGMcEsePR9 HTr5sMTxJvHAdRnfuSMSeTl4dHJHqthQpX+6zI//fMFEQIg6iLVsmYH8Lg3LTkWQ 3mo4M/UImvixBeluxJnLHXAWCGa2UhBlFeE3MfSLnBljqfEF4ifEkAzsHJLlh1pp +ppAoTwoySYKzJPVke/VyH5gJBwuYj2F2XTgq6q8iEE0faZYrTRd90PDii6eLeX6 R6U+zJbQCPQPqQtTj31H1GS76H860nFo1HDV9Nic4v3bjih9gmyHZMlrcCmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1775419430; x=1775505830; bh=G1TqTbfP6Napckd51mmbe2WcwxnFqVj+zFe E97pX2LQ=; b=KN7ahoqKdBb/XW7F2oC+NSvlEXOwnXXuPlu3ZZVKPR4NXTL+x5q qMnHy5zzvoKXtnddvvaSVrwmMmrPybR2eDlsa8FBiSsC+WLCD0SZQ6TZ4N+tyDQS uJN0VZiu55He9QlgPk9xNNxASH4o++Zq47H8oYXyBo8+kiOhW1qgznI9klls6Y0I CXftN/UMWJCjybpcMnm5F/cMBXoJAb00JUPtR9MPSYFNuJXksmcK6NryrZJJ+MKE /b2BWSo+evXehlOkgQ8BENurgGzv/kFOMPXM9xna/E/iRU5t7GsRX6N1i8Uao6ow IM9wEe7nyBa0vFa+w9ZpQpziIPOMV3lBiqQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdduheeilecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfhfgggtuggjsehttdfstddttddvnecuhfhrohhmpeetnhgurhgvshcu hfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrghtth gvrhhnpeegleegkefgleefhefhgfeukefgvdfgteffkeegvddvveeuieetfeeutddvtdev ieenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgpdhpghhsqhhlrdgsuhhilh gunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghn ughrvghssegrnhgrrhgriigvlhdruggvpdhnsggprhgtphhtthhopeejpdhmohguvgepsh hmthhpohhuthdprhgtphhtthhopegrnhgurhgvfiesughunhhslhgrnhgvrdhnvghtpdhr tghpthhtohepvghulhgvrhesvghulhgvrhhtohdrtghomhdprhgtphhtthhopegurghvih gurdhgrdhjohhhnhhsthhonhesghhmrghilhdrtghomhdprhgtphhtthhopehjrghpihhn lhhisehhohhtmhgrihhlrdgtohhmpdhrtghpthhtoheprghlvhhhvghrrhgvsehkuhhrih hlvghmuhdruggvpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdr phhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepiihsohhlthdrphgrrhhrrghgih esphgvrhgtohhnrgdrtghomh X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Apr 2026 16:03:50 -0400 (EDT) Date: Sun, 5 Apr 2026 16:03:49 -0400 From: Andres Freund To: Andrew Dunstan Cc: "David G. Johnston" , Japin Li , Zsolt Parragi , Euler Taveira , =?utf-8?Q?=C3=81lvaro?= Herrera , PostgreSQL Hackers Subject: Re: pg_get__*_ddl consolidation Message-ID: References: <202603201311.yhtqmvektawm@alvherre.pgsql> <8ec9b67d-939e-4b22-8d56-a5129f92d32d@app.fastmail.com> <555cdee4-c024-4872-9d96-82ef4216239c@dunslane.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-04-05 11:40:33 -0400, Andres Freund wrote: > On 2026-04-05 11:06:09 -0400, Andrew Dunstan wrote: > > Pushed. I have moved the remaining get_*_ddl items to PG20-1 > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=longfin&dt=2026-04-05%2015%3A04%3A04 > > diff -U3 /Users/buildfarm/bf-data/HEAD/pgsql.build/src/test/regress/expected/database_ddl.out /Users/buildfarm/bf-data/HEAD/pgsql.build/src/test/regress/results/database_ddl.out > --- /Users/buildfarm/bf-data/HEAD/pgsql.build/src/test/regress/expected/database_ddl.out 2026-04-05 11:04:08 > +++ /Users/buildfarm/bf-data/HEAD/pgsql.build/src/test/regress/results/database_ddl.out 2026-04-05 11:05:57 > @@ -22,6 +22,7 @@ > CREATE DATABASE regress_database_ddl > ENCODING utf8 LC_COLLATE "C" LC_CTYPE "C" TEMPLATE template0 > OWNER regress_datdba; > +WARNING: databases created by regression test cases should have names including "regression" > ALTER DATABASE regress_database_ddl CONNECTION_LIMIT 123; > ALTER DATABASE regress_database_ddl SET random_page_cost = 2.0; > ALTER ROLE regress_datdba IN DATABASE regress_database_ddl SET random_page_cost = 1.1; Pushed a fixup for this and the pgindent failure, as it doesn't seem like a great time to have CI/BF fail. It is pretty odd that the naming restrictions for databases (regression*) is different than for all the other object types... > But do we really have to create a new database and a new tablespace for these? > Database and tablespace creations are quite heavyweight operations. > > We already have an existing tablespace and an existing database as part of the > regression tests. Couldn't you make do with those? Didn't do anything about that. Greetings, Andres Freund