Return-Path: <ml-errors@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h7MF1B716150
 for <oracle-l@orafaq.net>; Fri, 22 Aug 2003 10:01:11 -0500
X-ClientAddr: 66.27.56.210
Received: from ns3.fatcity.com (rrcs-west-66-27-56-210.biz.rr.com [66.27.56.210])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h7MF19p16144
 for <oracle-l@orafaq.net>; Fri, 22 Aug 2003 10:01:10 -0500
Received: from ns3.fatcity.com (localhost.localdomain [127.0.0.1])
 by ns3.fatcity.com (8.12.5/8.12.5) with ESMTP id h7MCSrSG005990
 for <oracle-l@orafaq.net>; Fri, 22 Aug 2003 05:32:36 -0700
Received: (from root@localhost)
 by ns3.fatcity.com (8.12.5/8.12.5/Submit) id h7MCAND6029266
 for oracle-l@orafaq.net; Fri, 22 Aug 2003 05:10:24 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005CC332; Fri, 22 Aug 2003 05:09:25 -0800
Message-ID: <F001.005CC332.20030822050925@fatcity.com>
Date: Fri, 22 Aug 2003 05:09:25 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Nuno Souto" <nsouto@optusnet.com.au>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Nuno Souto" <nsouto@optusnet.com.au>
Subject: Re: Row level security and latch waits - LONG email...
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

----- Original Message ----- 

> Policy function:
> DPA42HP92.DP_PREDICATE_FUNCTION_PKG.DP_PREDICATE_FUNCTION
> RLS view :
> SELECT  "CURRENCY","CURRENCY_CODE","CURRENCY_DESC","CURRENCY_KEY" FROM
> "DPA42HP9
> 2"."DPR70_CURRENCY_D"  "DPR70_CURRENCY_D" WHERE (CURRENCY_CODE in (select
> value_
> v
>  from dp_security_values
> where group_id in (select group_id from dp_upd_user_groups where
> comp_group_id =
>  sys_context('dp_comp_group_id_ctx','comp_group_id')) 
> 
> as you can see the context variable is being used in the generated
> predicate clause
> 

That makes perfect sense now.  
Thanks a lot for the feedback.
Cheers
Nuno Souto
nsouto@optusnet.com.au

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Nuno Souto
  INET: nsouto@optusnet.com.au

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@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).

