I am trying to write a pl/sql package to allow end users to rebuild partitioned indexes.
I have everything working when the package.procedure is run as sys, however when I
run it as the object owner I get ORA-01031: insufficient privileges errors.  Other parts
the the package (adding new partitions, truncating the partition) work fine when run
by the table owner.  It's just the index rebuild that seems to choke.
 
Has anyone seen anything like this?  I am on Solaris 8, Oracle 9.0.1.3.  Both sys and
the table owner have alter privs on the table and indexes in question.  I've got to have
forgotten something obvious...
 
TIA,

John P Weatherman
Database Administrator
Replacements Ltd.

Reply via email to