Re: Major Version Upgrade failure due to orphan roles entries in catalog

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Virender Singla <virender(dot)cse(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org, Aniket Jha <aniketkumarj(at)gmail(dot)com>
Subject: Re: Major Version Upgrade failure due to orphan roles entries in catalog
Date: 2026-02-25 18:58:11
Message-ID: 304751.1772045891@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Robert Haas <robertmhaas(at)gmail(dot)com> 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2026-02-26 03:16:32 RE: [BUG] Assert failure in ReorderBufferReturnTXN during logical decoding due to leaked specinsert change
Previous Message Robert Haas 2026-02-25 18:47:52 Re: Major Version Upgrade failure due to orphan roles entries in catalog