pgsql: Marginal performance improvement in aclmask(): don't bother with

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Marginal performance improvement in aclmask(): don't bother with
Date: 2005-10-07 19:59:35
Message-ID: 20051007195935.A9541D94BD@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-10-07 20:11:04 pgsql: Allocate a few extra LWLocks for possible use by add-on modules.
Previous Message User Llonergan 2005-10-07 19:34:51 bizgres - bizgres: Removed.