pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add regression tests for INSERT/UPDATE+RETURNING
2+ messages / 1 participants
[nested] [flat]

* pgsql: Add regression tests for INSERT/UPDATE+RETURNING
@ 2015-10-05 14:15  Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephen Frost @ 2015-10-05 14:15 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/be400cd25c7f407111b9617dbf6a5fae761754cb

Modified Files
--------------
src/test/regress/expected/rowsecurity.out |   69 +++++++++++++++++++++++++++++
src/test/regress/sql/rowsecurity.sql      |   63 ++++++++++++++++++++++++++
2 files changed, 132 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Add regression tests for INSERT/UPDATE+RETURNING
@ 2015-10-05 14:15  Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephen Frost @ 2015-10-05 14:15 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f9bb9c0a8a736efb567a676ad678d05a8dc35780

Modified Files
--------------
src/test/regress/expected/rowsecurity.out |   69 +++++++++++++++++++++++++++++
src/test/regress/sql/rowsecurity.sql      |   63 ++++++++++++++++++++++++++
2 files changed, 132 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-10-05 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-10-05 14:15 pgsql: Add regression tests for INSERT/UPDATE+RETURNING Stephen Frost <sfrost@snowman.net>
2015-10-05 14:15 pgsql: Add regression tests for INSERT/UPDATE+RETURNING Stephen Frost <sfrost@snowman.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox