Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What privalages do I need to access CTXSYS.CTX_DLL?

Status
Not open for further replies.

spook007

Programmer
Joined
May 22, 2002
Messages
259
Location
US
I might be going about this the wrong way, but I'm experimenting... I'm trying to automate the synchronization and optimization of my CONTEXT Indexes when ever a user makes an update on the field that is being indexed.

In order to do this, I've placed the following PL/SQL code in a trigger that is fired every time there is an update to the ARTICLE_DESCRIPTION field:

BEGIN
CTX_DLL.SYNC_INDEX('LUD.ARTICLE_DES_IDX' );
CTX_DLL.OPTIMIZE_INDEX('LUD.ARTICLE_DES_IDX', 'FULL');
END;

When I enable the trigger I get the following message:

PLS-00904: Insufficient privilage to access object CTXSYS.CTX_DLL
PL/SQL: Statement Ignored
PLS-00904: Insufficient privilage to access object CTXSYS.CTX_DLL
PL/SQL: Statement Ignored

What privalges do I have to enable in order for the trigger to work?
 
Try ctxapp role.
or
grant execute on CTX_DLL to the user
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top