Re: [HACKERS] reindex of toast tables

2002-09-02 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> 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 tco

Re: [HACKERS] reindex of toast tables

2002-09-02 Thread Alvaro Herrera
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. -- Alvaro Herrera () "Cuand

Re: [HACKERS] reindex of toast tables

2002-09-02 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Tom, when you loosened the restriction on reindexing toast tables, did > you continue to restrict indexing of system tables to the superuser? Is > that required? Hm. Now that I look at it, the forms REINDEX TABLE and REINDEX INDEX don't seem to have a