pgsql: Avoid unnecessary fetch from pg_shadow in the normal case in

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Avoid unnecessary fetch from pg_shadow in the normal case in
Дата
Msg-id 20050529233805.EDD8152852@svr1.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: dpavlin@pgfoundry.org (User Dpavlin)
Дата:
Сообщение: pgswish - pgswish: make it less chatty at INFO logging level
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Skip eval_const_expressions when the query is such that the