Skip to content
Snippets Groups Projects
Commit 2ca9d544 authored by Stephen Frost's avatar Stephen Frost
Browse files

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.
parent 4158cc37
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment