pgsql: Marginal speedup in RelationIsVisible and TypeIsVisible: avoid a

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Marginal speedup in RelationIsVisible and TypeIsVisible: avoid a
Date: 2005-10-06 22:43:17
Message-ID: 20051006224317.286E8DA3BC@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message User Aglio 2005-10-06 23:00:24 press - pr: Changes per discussion with PR professional.
Previous Message Neil Conway 2005-10-06 21:30:41 pgsql: Minor API cleanup for async notifications: we can only register