Add regression tests for INSERT/UPDATE+RETURNING

Stephen Frost <sfrost@snowman.net>

Commit: be400cd25c7f407111b9617dbf6a5fae761754cb
Author: Stephen Frost <sfrost@snowman.net>
Date: 2015-10-05T14:14:49Z
Releases: 9.6.0
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