Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Suggestions Needed: Latch free - library cache

Re: Suggestions Needed: Latch free - library cache

From: Rachel Carmichael <wisernet100_at_yahoo.com>
Date: Sat, 10 Jan 2004 12:34:25 -0800
Message-ID: <F001.005DC5E6.20040110123425@fatcity.com>


Tanel,

 you can't create a public synonym owned by a role, sorry if I wasn't clear. But public synonyms are available to all users, regardless of the role you assign to the user. So you have to use public synonyms when you use roles, unless you either specify the object owner name in all references or, as I was gently reminded, you use set current_schema to the object owner.

Because I have applications that use data from multiple owners, I have to use public synonyms. However, I am going to see if I can use set current_schema wherever possible in the future.

Rachel
--- Tanel Poder <tanel.poder.003_at_mail.ee> wrote:
> Hi!
>
> > If you intend to use roles to simplify privilege management, you
> are
> > almost forced to use public synonyms, as you cannot create a
> private
> > synonym owned by a role. Your other alternative is to hard-code the
>
> How can you create a public synonym OWNED by a role?
> This is new to me, despite the knowledge that roles and usernames are
> kept
> in the same base table...
>
> Tanel.
>
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Tanel Poder
> INET: tanel.poder.003_at_mail.ee
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).



Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Rachel Carmichael
  INET: wisernet100_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sat Jan 10 2004 - 14:34:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US