pgsql: Add regression tests for INSERT/UPDATE+RETURNING

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pgsql: Add regression tests for INSERT/UPDATE+RETURNING
Дата
Msg-id E1Zj6Xc-0005lm-AG@gemulon.postgresql.org
обсуждение исходный текст
Список 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(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Add regression tests for INSERT/UPDATE+RETURNING
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Remove outdated comment about relation level autovacuum freeze l