Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes it probably could be solved by this. Just a trigger which replaces SELECT right?
On Wed, Dec 2, 2015 at 6:01 PM Jim Nasby <Jim.Nasby@xxxxxxxxxxxxxx> wrote:
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux