Search Postgresql Archives

Re: Clarification on RLS policy

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

 



Hi,

Checking the documents . 
Post fetching Boolean can we have a trigger or function which can build up the where filter clause?
Or can i have a case statement in the Using which can return such statements?



On Fri, Apr 25, 2025 at 7:02 PM Dominique Devienne <ddevienne@xxxxxxxxx> wrote:
On Fri, Apr 25, 2025 at 3:29 PM Vydehi Ganti <rayudugs@xxxxxxxxx> wrote:
> Can i know if there is any scenario or ref document for the design you suggested above?

Some docs:
https://www.postgresql.org/docs/current/ddl-rowsecurity.html
https://satoricyber.com/postgres-security/postgres-row-level-security/

Your Oracle function converted to PostgreSQL, FWIW. Use at your own risk.
https://chatgpt.com/share/680b8e36-b4ac-800e-9e0e-2601aecd2aee

[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 Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux