Marginal speedup in RelationIsVisible and TypeIsVisible: avoid a redundant

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e6b92542a39b50d0c02f90ef56aa6930e26eca81
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-06T22:43:16Z
Releases: 8.1.0
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.

Files

PathChange+/−
src/backend/catalog/namespace.c modified +42 −7