diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-03-01 12:03:29 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-03-01 12:03:29 -0500 |
commit | 6452b098c018a8aa9fbcf28d6be22d92493301fd (patch) | |
tree | a9c720b64e56231c2539318235f2f7173da2fb2c /src/backend/utils/cache/relcache.c | |
parent | 8f72a5704854d292065886eb47ba18fbd504113e (diff) | |
download | postgresql-6452b098c018a8aa9fbcf28d6be22d92493301fd.tar.gz postgresql-6452b098c018a8aa9fbcf28d6be22d92493301fd.zip |
Remove out-of-date comment about formrdesc().
formrdesc's comment listed the specific catalogs it is called for,
but the list was out of date. Rather than jumping back onto that
maintenance treadmill, let's just remove the list. It tells the
reader nothing that can't be learned quickly and more reliably by
searching relcache.c for callers of formrdesc().
Oversight noted by Kyotaro Horiguchi.
Discussion: https://postgr.es/m/20180214.105314.138966434.horiguchi.kyotaro@lab.ntt.co.jp
Diffstat (limited to 'src/backend/utils/cache/relcache.c')
-rw-r--r-- | src/backend/utils/cache/relcache.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c index 1ebf9c4ed2b..9ee78f885f9 100644 --- a/src/backend/utils/cache/relcache.c +++ b/src/backend/utils/cache/relcache.c @@ -1847,11 +1847,7 @@ LookupOpclassInfo(Oid operatorClassOid, * quite a lot since we only need to work for a few basic system * catalogs. * - * formrdesc is currently used for: pg_database, pg_authid, pg_auth_members, - * pg_shseclabel, pg_class, pg_attribute, pg_proc, and pg_type - * (see RelationCacheInitializePhase2/3). - * - * Note that these catalogs can't have constraints (except attnotnull), + * The catalogs this is used for can't have constraints (except attnotnull), * default values, rules, or triggers, since we don't cope with any of that. * (Well, actually, this only matters for properties that need to be valid * during bootstrap or before RelationCacheInitializePhase3 runs, and none of |