diff options
author | Stephen Frost <sfrost@snowman.net> | 2015-10-05 07:55:11 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2015-10-05 07:55:11 -0400 |
commit | bd9014768035dd70f8cc33c215a8b929c2e13a35 (patch) | |
tree | 1a0d86c46f700df70d197d65569635732508240e /src/backend/utils/adt/json.c | |
parent | 31fb4df69d1364c79cfab0a2bd4470d0c48e942e (diff) | |
download | postgresql-bd9014768035dd70f8cc33c215a8b929c2e13a35.tar.gz postgresql-bd9014768035dd70f8cc33c215a8b929c2e13a35.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/json.c')
0 files changed, 0 insertions, 0 deletions