Обсуждение: Determine which Row Level Security policies were denied

Поиск
Список
Период
Сортировка

Determine which Row Level Security policies were denied

От
José A. San Gil
Дата:
Hi!

Is it possible to determine which RLS policies failed on INSERT OR UPDATE? For instance, this is the error returned when inserting a new record:

**ERROR: new row violates row-level security policy for table "my_table"**

Is it possible to obtain the name of the policy(ies) that denied the operation?

Thanks
--
José A. San Gil M