Improve regression test coverage of table lock modes vs permissions.

Joe Conway <mail@joeconway.com>

Commit: d5f551abcf78cb4e3f6c5d195bd260893443414b
Author: Joe Conway <mail@joeconway.com>
Date: 2015-07-07T21:36:03Z
Releases: 9.5.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