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 1vvK5S-00Dk6q-2A for pgsql-bugs@arkaria.postgresql.org; Wed, 25 Feb 2026 18:58:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vvK5R-008KEN-15 for pgsql-bugs@arkaria.postgresql.org; Wed, 25 Feb 2026 18:58:17 +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 1vvK5R-008KEF-0H for pgsql-bugs@lists.postgresql.org; Wed, 25 Feb 2026 18:58:17 +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 1vvK5N-00000001ACd-3cRu for pgsql-bugs@lists.postgresql.org; Wed, 25 Feb 2026 18:58:16 +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 61PIwBwR304752; Wed, 25 Feb 2026 13:58:11 -0500 From: Tom Lane To: Robert Haas cc: =?UTF-8?Q?=C3=81lvaro_Herrera?= , Virender Singla , pgsql-bugs@lists.postgresql.org, Aniket Jha Subject: Re: Major Version Upgrade failure due to orphan roles entries in catalog In-reply-to: References: <202502131716.7mgkcnrem2hn@alvherre.pgsql> <2939991.1740089974@sss.pgh.pa.us> <179448.1772033773@sss.pgh.pa.us> <265501.1772038216@sss.pgh.pa.us> <296083.1772041154@sss.pgh.pa.us> <301798.1772044229@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Wed, 25 Feb 2026 13:47:52 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <304750.1772045891.1@sss.pgh.pa.us> Date: Wed, 25 Feb 2026 13:58:11 -0500 Message-ID: <304751.1772045891@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > Sometimes I find it helpful to play with the message level and the > primary message wording as a way of indicating the gravity, e.g. > info: dumping grant of role \"%s\" to role \"%s\" without GRANTED BY, > because role with OID %u no longer exists > vs. > warning: grant of role \"%s\" to \"%s\" has invalid grantor OID %u > detail: this grant will be dumped without GRANTED BY I'd be content to use those wordings (except I think our style guide wants detail to be punctuated like a sentence). I'll wait a day or so to see if anyone has a better idea, though. regards, tom lane