OSDN Git Service

Marginal performance improvement in aclmask(): don't bother with
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 7 Oct 2005 19:59:34 +0000 (19:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 7 Oct 2005 19:59:34 +0000 (19:59 +0000)
commit426d0158cafe5d138ce15c640134b2db8f37f6dc
treec2f80364f893b56fb1227ce1dfdc6336037abcd6
parentb888ab82dab90409fd262655b05407403544bbfb
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.
src/backend/utils/adt/acl.c