postgresql/src/backend/rewrite
Stephen Frost 2ca9d5445c Apply SELECT policies in INSERT/UPDATE+RETURNING
Similar to 7d8db3e, 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.
2015-10-05 07:55:13 -04:00
..
Makefile Row-Level Security Policies (RLS) 2014-09-19 11:18:35 -04:00
rewriteDefine.c Disallow converting a table to a view if row security is present. 2015-07-28 16:24:01 -07:00
rewriteHandler.c RLS refactoring 2015-09-15 15:49:31 -04:00
rewriteManip.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
rewriteRemove.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
rewriteSupport.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
rowsecurity.c Apply SELECT policies in INSERT/UPDATE+RETURNING 2015-10-05 07:55:13 -04:00