Re: limiting access to (through) views - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: limiting access to (through) views
Date
Msg-id 20020116152314.GA26996@wolff.to
Whole thread Raw
In response to limiting access to (through) views  ("Glenn MacGregor" <gtm@oracom.com>)
List pgsql-sql
On Wed, Jan 16, 2002 at 09:47:21AM -0500, Glenn MacGregor <gtm@oracom.com> wrote:
> Hi All,
> 
> I need to limit access to certain rows of a table.  It was suggested to do this via a view, but it seems to me that I
needthe current username that is logged in to do this.  Also I need to get info from another table inorder to make this
work. Can I have multiple selects in a single view using the output of one in another?
 

You would want to use session_user or current_user. For now these are both
the same, but eventually they may not be.


pgsql-sql by date:

Previous
From: "Glenn MacGregor"
Date:
Subject: Re: limiting access to (through) views
Next
From: Wei Weng
Date:
Subject: Re: Count Total on a limited query?