Apply SELECT policies in INSERT/UPDATE+RETURNING
Similar to 7d8db3e8, given that INSERT+RETURNING requires SELECT rights on the table, apply the SELECT policies as WCOs to the tuples being inserted. Apply the same logic to UPDATE+RETURNING. Back-patch to 9.5 where RLS was added.
Showing
Please register or sign in to comment