]> granicus.if.org Git - postgresql/commit
Avoid unnecessary fetch from pg_shadow in the normal case in
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 29 May 2005 23:38:05 +0000 (23:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 29 May 2005 23:38:05 +0000 (23:38 +0000)
commit03a542ba630fe800afc98dc08a6f0d2b93b0addf
treeff26d4c592ca32f9ec09d6b54e719cfb01bde9e7
parent140b078d2a21acedc3398896f0f360f5d01ffb6c
Avoid unnecessary fetch from pg_shadow in the normal case in
pg_class_aclmask().  We only need to do this when we have to check
pg_shadow.usecatupd, and that's not relevant unless the target table
is a system catalog.  So we can usually avoid one syscache lookup.
src/backend/catalog/aclchk.c