Re: Can row level security policies also be implemented for views?

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Caleb Meredith <calebmeredith8(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can row level security policies also be implemented for views?
Date: 2015-12-02 23:01:14
Message-ID: 565F783A.2010302@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/2/15 4:59 PM, Caleb Meredith wrote:
> What is an SRF?

Set returning function.

CREATE FUNCTION srf() RETURNS SETOF pg_class LANGUAGE sql AS 'SELECT *
FROM pg_class';
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim Nasby 2015-12-02 23:20:40 Re: XID wraparound with huge pg_largeobject
Previous Message Caleb Meredith 2015-12-02 22:59:30 Re: Can row level security policies also be implemented for views?