Improving regression tests to check LOCK TABLE and table permissions - Mailing list pgsql-hackers

From Michael Paquier
Subject Improving regression tests to check LOCK TABLE and table permissions
Date
Msg-id CAB7nPqTpdh3ZwYdqEMEo5HW_6nwvud1iVTOHrHKotu0X1r4_bQ@mail.gmail.com
Whole thread Raw
Responses Re: Improving regression tests to check LOCK TABLE and table permissions  (Joe Conway <mail@joeconway.com>)
List pgsql-hackers
Hi all,

As mentioned in this thread, it would be good to have regression tests
to test the interactions with permissions and LOCK TABLE:
http://www.postgresql.org/message-id/20150511195335.GE30322@tamriel.snowman.net
Attached is a patch achieving that.
Note that it does some checks on the modes SHARE ACCESS, ROW EXCLUSIVE
and ACCESS EXCLUSIVE to check all the code paths of
LockTableAclCheck@lockcmds.c.

I'll add an entry in the next CF to keep track of it.
Regards,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: LOCK TABLE Permissions
Next
From: Etsuro Fujita
Date:
Subject: Re: EvalPlanQual behaves oddly for FDW queries involving system columns