Re: Clarification on RLS policy

Поиск
Список
Период
Сортировка
От Dominique Devienne
Тема Re: Clarification on RLS policy
Дата
Msg-id CAFCRh-8_fXc-96mVtuW7=9CeXWW5duopnOdMVCXrbPjJ_aMD9Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Clarification on RLS policy  (Vydehi Ganti <rayudugs@gmail.com>)
Ответы Re: Clarification on RLS policy
Список pgsql-general
On Fri, Apr 25, 2025 at 3:01 PM Vydehi Ganti <rayudugs@gmail.com> wrote:
> Then it should build up the lPredicate with the filter condition and append to the query user runs on the Activity
table.

You're not reading us, and asking us to do the work for you...
RLS Predicates don't return strings in PostgreSQL, but a boolean.
Write your function to do your check, and return TRUE or FALSE.



В списке pgsql-general по дате отправления: