Skip to content
Snippets Groups Projects
Commit e64d3c56 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Minimize calls of pg_class_aclcheck to minimum necessary


In a couple of code paths, pg_class_aclcheck is called in succession
with multiple different modes set.  This patch combines those modes to
have a single call of this function and reduce a bit process overhead
for permission checking.

Author: Michael Paquier <michael@otacoo.com>
Reviewed-by: default avatarFabrízio de Royes Mello <fabriziomello@gmail.com>
parent a5f7d581
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment