Add regression tests for INSERT/UPDATE+RETURNING
Stephen Frost <sfrost@snowman.net>
Add regression tests for INSERT/UPDATE+RETURNING This adds regressions tests which are specific to INSERT+RETURNING and UPDATE+RETURNING to ensure that the SELECT policies are added as WithCheckOptions (and should therefore throw an error when the policy is violated). Per suggestion from Andres. Back-patch to 9.5 as the prior commit was.
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/rowsecurity.out | modified | +69 −0 |
| src/test/regress/sql/rowsecurity.sql | modified | +63 −0 |