Marginal speedup in RelationIsVisible and TypeIsVisible: avoid a redundant
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/namespace.c | modified | +42 −7 |