Обсуждение: pgsql: Marginal speedup in RelationIsVisible and TypeIsVisible: avoid a

Поиск
Список
Период
Сортировка

pgsql: Marginal speedup in RelationIsVisible and TypeIsVisible: avoid a

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Marginal speedup in RelationIsVisible and TypeIsVisible: avoid a redundant
cache lookup in the success case.  This won't help much for cases where
the given relation is far down the search path, but it does not hurt in
any cases either; and it requires only a little new code.  Per gripe from
Jim Nasby about slowness of \d with many tables.

Modified Files:
--------------
    pgsql/src/backend/catalog:
        namespace.c (r1.77 -> r1.78)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/namespace.c.diff?r1=1.77&r2=1.78)