Alvaro Herrera <alvherre(at)atentus(dot)com> writes:
> Tom Lane dijo:
>> Hm. Now that I look at it, the forms REINDEX TABLE and REINDEX INDEX
>> don't seem to have any permissions checks at all :-(. One would think
>> that they need to require ownership rights on the target table.
> They are done in tcop/utility.c AFAICS.
Oh, right. I was just looking at the catalog/index routines. Nevermind...
regards, tom lane