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 1qA220-0002tK-Ng for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Jun 2023 05:29:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qA21z-0002Tp-6m for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Jun 2023 05:29:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qA21x-0002Jn-IE for pgsql-bugs@lists.postgresql.org; Fri, 16 Jun 2023 05:29:54 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qA21s-002i6f-Iu for pgsql-bugs@postgresql.org; Fri, 16 Jun 2023 05:29:52 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B48155C01F8; Fri, 16 Jun 2023 01:29:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 16 Jun 2023 01:29:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1686893386; x=1686979786; bh=s8 VAZjXd7+Kg/dC0PqH3XfYFu0SpnzY0Iy8Xy5l9iDI=; b=08VuscOEfuEvcUocwo aiBs/Ia/3yhBJhRorr9XrkBywA/xpfoeab5ipR/aWQyQz5Wk7d8bgl5csMZ6SX8b jxvRVXsVk5+0JU1xnsTnk4yoUVUEQqWIbtVT1lxb2/04eDeInqK0URwM8lFri5Wq LfbPtrHQsXbSCVDhtjGhH8ecTNnU+c7Pg3g0Z3bKLyfFp7wYf659CDr81QfEPu6r 7cA1k+451IXCFtPOtUEOUUmZWPHc5pBBGg5Namsj0NsJZ6MW3OOfqeD8QDHCqRNM OwYvpY0YIN48wnpj2P5MdEpJuqChszCyQcupFxTvScLAGfY449/5mEheATLCkKR+ LBiQ== 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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1686893386; x=1686979786; bh=s8VAZjXd7+Kg/ dC0PqH3XfYFu0SpnzY0Iy8Xy5l9iDI=; b=HxVpXXmHnvHxZFr9Fuxx2JUNP9VJ1 f8oH+dRfA/Uokdb/EOuq0gYkqvgZWY+aQYyysKJqMKLFuQO3J73YDyzHJUcwUuKr jxZw3UC3JV8Z2aMySCNMJikCTci+abZV/5jmWvCyalK09HqlDjWlJFtO410FeXmb N1BnII7UwGG43dP4/hYDTMb58z7uVXFwUQPU9cHuvW18gaqqsbFjRXhduA49Pr8e 6gOfbyHnn4utSi5+vcvYp0BHGdMa89+Op8uwyG7FfGM/fktcCrUIgKcuhxBomsc8 AffoWGT9YV25yt5pls+GPuyJQCl7U5R7nVIkv+ELd3YwJWvuvPhSRY9Nw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedvfedgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghq uhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvg hrnhepteelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdej necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitg hhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 16 Jun 2023 01:29:45 -0400 (EDT) Date: Fri, 16 Jun 2023 14:29:41 +0900 From: Michael Paquier To: Jeff Davis Cc: pgsql-bugs@postgresql.org Subject: Re: pg_dump assertion failure with "-n pg_catalog" Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CB6hgwPA0bNxCk82" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --CB6hgwPA0bNxCk82 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 15, 2023 at 03:47:59PM -0700, Jeff Davis wrote: > The new patch does add about 40 net lines, though. I have looked at dumps generated from servers down to 9.2, and these seemed OK. > Given that it fixes an obscure issue, I'm not even sure if it should be > backported -- perhaps it could just go in 17 as more of a cleanup than > a bugfix? Not sure to agree about this point. The first version where this happens is v15, meaning that two branches are impacted currently. So the cost of backpatch is minimal. > Even aside from the issue fixed by this patch, there are other warnings > emitted when dumping pg_catalog related to types with typtype='p' and > typisdefined=t. Right, there are 14 of them, except _record. This is actually much, much older than the collation bits. -- Michael --CB6hgwPA0bNxCk82 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmSL80UACgkQnvQgOdby QH0o6w/+PVDqXf+luqXAmd2U9T9bfaUcsYIl2lnsnwrJsBdsiKqrrVqyn0cU5ZmY 3T2KxluFp0w8TjAPf6lhpA9PG38ArH9/DoPFS+LsDRDmhe6EFEnESaDLHROxjqRP 5AZ9OfVi5x9N5Ov03zVy8AyQnY9ru5v7WfucvXLAY+QSJPgZbU/ibITFIpd9bEPW YYz6guHreh8j260lq+qUfP4TcNuTfF+i9BZej9/+2HxLmz+bgHYhG9R21aCPwY7i AG+/afGxCDK/Yg1TNnevV8nOPNMm0jep6FbXjF6HyG9XEf+iaR9BXa5PdjgDUyjy Ab0G2w3tlutN5476v9Ky3Kvtwh2VJOExDzAEdjITEbeDBauc2L71bwNvBrxA4aYk aP1GNfi4DQuJ8ppg5o5jmHEhhVXdT9T7Fz5PQ98Bz3GtDJb9X9LSyLdoLZVjJ+8J aTOIeHuvMaVvzMnUtcZNQo2Z7C7XjhyhdKZK6x0XTzUzI0qX5qiMLDO/Mlg3M48D GGBfjly/HLoI1przPFbbldg6jlYUeeSkbg/BapOLkLrqxMj8rCI+AuXc1JKsYrpg ruy9fBnTMHQHFZFheNxioHTNoKc0QOeLF0u0yEMxlHbxF+/Mw7GAdHPq1+tr6TLy kLnkTg0EuOsO11V2JxR38aX2HAopRk4RfpEFjFEckmQi+FHaOlk= =uNlO -----END PGP SIGNATURE----- --CB6hgwPA0bNxCk82--