pgsql: Avoid unnecessary fetch from pg_shadow in the normal case in - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Avoid unnecessary fetch from pg_shadow in the normal case in
Date
Msg-id 20050529233805.EDD8152852@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/catalog:
        aclchk.c (r1.111 -> r1.112)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/aclchk.c.diff?r1=1.111&r2=1.112)

pgsql-committers by date:

Previous
From: dpavlin@pgfoundry.org (User Dpavlin)
Date:
Subject: pgswish - pgswish: make it less chatty at INFO logging level
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Skip eval_const_expressions when the query is such that the