Improve regression test coverage of table lock modes vs permissions.

Joe Conway <mail@joeconway.com>

Commit: e66a45344ff33d64aa6ff50673ff9fe8577ea6db
Author: Joe Conway <mail@joeconway.com>
Date: 2015-07-07T21:35:35Z
Releases: 9.6.0
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.

Files