Re: Clarification on Role Access Rights to Table Indexes - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Clarification on Role Access Rights to Table Indexes
Date
Msg-id 8af53c6e8992aa706e63aafe60a3bcf100b524d1.camel@j-davis.com
Whole thread Raw
In response to Re: Clarification on Role Access Rights to Table Indexes  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Clarification on Role Access Rights to Table Indexes
List pgsql-hackers
On Wed, 2025-09-24 at 11:52 -0500, Nathan Bossart wrote:
> On Wed, Sep 24, 2025 at 12:13:34PM -0400, Tom Lane wrote:
> > Nathan Bossart <nathandbossart@gmail.com> writes:
> > > * RangeVarCallbackForReindexIndex() was checking privileges on
> > > the table
> > > before locking it, so I reversed it in 0002.
> >
> > Don't we do that intentionally, to make sure someone can't cause
> > DOS
> > on a table they have no privileges on?
>
> Ah, right.  I switched it back in v4.

v4-0001 looks good to me.

Just to make sure I understand: the actual problem would only happen
with OID wraparound, right?

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: doc: Improve description of io_combine_limit and io_max_combine_limit GUCs
Next
From: Richard Guo
Date:
Subject: Re: Eager aggregation, take 3