pgsql: Marginal performance improvement in aclmask(): don't bother with
pgsql: Marginal performance improvement in aclmask(): don't bother with
От:
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Marginal performance improvement in aclmask(): don't bother with
testing ownership if the caller isn't interested in any GOPTION bits
(which is the common case). It did not matter in 8.0 where the ownership
test was just a trivial equality test, but it matters now.
Modified Files:
--------------
pgsql/src/backend/utils/adt:
acl.c (r1.123 -> r1.124)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/acl.c.diff?r1=1.123&r2=1.124)