Thanks to visit codestin.com
Credit goes to postgrespro.com

pgsql: Minimize calls of pg_class_aclcheck to minimum necessary - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Minimize calls of pg_class_aclcheck to minimum necessary
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
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 <[email protected]>
Reviewed-by: Fabrízio de Royes Mello <[email protected]>

Branch
------
master

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

Modified Files
--------------
src/backend/commands/sequence.c |   12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Ensure libpq reports a suitable error message on unexpected sock
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Add tests for sequence privileges