Обсуждение: pgsql: Improve regression test coverage of table lock modes vs permissi

Поиск
Список
Период
Сортировка

pgsql: Improve regression test coverage of table lock modes vs permissi

От
Joe Conway
Дата:
Improve regression test coverage of table lock modes vs permissions.

Test the interactions with permissions and LOCK TABLE. Specifically
ROW EXCLUSIVE, ACCESS SHARE, and ACCESS EXCLUSIVE modes against
SELECT, INSERT, UPDATE, DELETE, and TRUNCATE permissions. Discussed
by Stephen Frost and Michael Paquier, patch by the latter. Backpatch
to 9.5 where matching behavior was first committed.

Branch
------
master

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

Modified Files
--------------
src/test/regress/expected/privileges.out |   83 +++++++++++++++++++++++++++++
src/test/regress/sql/privileges.sql      |   84 ++++++++++++++++++++++++++++++
2 files changed, 167 insertions(+)