Re: Mystery with REVOKE PRIVILEGE

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Konstantin Knizhnik <knizhnik(at)garret(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Peter Eisentraut <peter(at)eisentraut(dot)org>
Subject: Re: Mystery with REVOKE PRIVILEGE
Date: 2026-01-20 22:04:25
Message-ID: aW_76boybYd_DpBJ@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 20, 2026 at 04:32:31PM -0500, Tom Lane wrote:
> I don't think "let's make select_best_grantor even more magic"
> is the right approach. IMO, if there is a GRANTED BY clause,
> we should use exactly that grantor and not apply select_best_grantor
> at all. This is, for example, certainly the behavior needed for
> pg_dump.

I started on something like that here:

https://postgr.es/m/aRYLkTpazxKhnS_w%40nathan

--
nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2026-01-20 22:19:22 Re: Remove redundant AssertVariableIsOfType uses in pg_upgrade
Previous Message Tom Lane 2026-01-20 21:32:31 Re: Mystery with REVOKE PRIVILEGE