diff options
author | Stephen Frost <sfrost@snowman.net> | 2015-10-05 07:55:13 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2015-10-05 07:55:13 -0400 |
commit | 2ca9d5445c35db8956e4abbf1e653373820e8c0a (patch) | |
tree | 83bb40f192345c2f1538dd5a0420032a70ac52af /src/backend/utils/adt/jsonfuncs.c | |
parent | 4158cc3793fe0e074dcb58e91103344c8ffcd6df (diff) | |
download | postgresql-2ca9d5445c35db8956e4abbf1e653373820e8c0a.tar.gz postgresql-2ca9d5445c35db8956e4abbf1e653373820e8c0a.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions