Re: Row Level Security Policy Name in Error Message

2023-03-06 Thread Daniel Gustafsson
> On 6 Mar 2023, at 01:18, Louis Tian wrote: > Wondering whether there is a way to get the row-level security policy name in > the error message when it's violated. > I am only getting a more generic error message like this. > ERROR: new row violates row-level security policy for table "table_

Row Level Security Policy Name in Error Message

2023-03-06 Thread Louis Tian
Hi All, Wondering whether there is a way to get the row-level security policy name in the error message when it's violated. I am only getting a more generic error message like this. ERROR: new row violates row-level security policy for table "table_name" Thanks for your help. Regards, Louis Ti