Garry Chen wrote:
> I am new to postgresql and try to create RLS for a table using policy. I
> am wondering can I using plpgsql instated off sql inside using ()?
Not sure if I understand you right, but you must put SQL into the USING
and WITH CHECK clauses.
But you can call a PL/pgSQL function from that SQL.
Yours,
Laurenz Albe