From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
Cc: | Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>, Jeff Davis <pgsql(at)j-davis(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: allow granting CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX |
Date: | 2022-12-14 18:16:59 |
Message-ID: | 20221214181659.GB773264@nathanxps13 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Dec 14, 2022 at 07:05:34PM +0100, Alvaro Herrera wrote:
> On 2022-Dec-14, Nathan Bossart wrote:
>> On Wed, Dec 14, 2022 at 12:07:13PM +0300, Pavel Luzanov wrote:
>> > I found that granting MAINTAIN privilege does not allow the TOAST table to
>> > be vacuumed.
>>
>> Hm. My first thought is that this is the appropriate behavior. WDYT?
>
> It seems wrong to me. If you can vacuum a table, surely you can also
> vacuum its toast table. If you can vacuum all normal tables, you should
> be able to vacuum all toast tables too.
Okay. Should all the privileges governed by MAINTAIN apply to a relation's
TOAST table as well? I would think so, but I don't want to assume too much
before writing the patch.
--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2022-12-14 18:17:28 | Re: Temporary tables versus wraparound... again |
Previous Message | Alvaro Herrera | 2022-12-14 18:05:34 | Re: allow granting CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX |