Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6452b09

Browse files
committed
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 thatmaintenance treadmill, let's just remove the list. It tells thereader nothing that can't be learned quickly and more reliably bysearching 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
1 parent8f72a57 commit6452b09

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎src/backend/utils/cache/relcache.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,11 +1847,7 @@ LookupOpclassInfo(Oid operatorClassOid,
18471847
*quite a lot since we only need to work for a few basic system
18481848
*catalogs.
18491849
*
1850-
* formrdesc is currently used for: pg_database, pg_authid, pg_auth_members,
1851-
* pg_shseclabel, pg_class, pg_attribute, pg_proc, and pg_type
1852-
* (see RelationCacheInitializePhase2/3).
1853-
*
1854-
* Note that these catalogs can't have constraints (except attnotnull),
1850+
* The catalogs this is used for can't have constraints (except attnotnull),
18551851
* default values, rules, or triggers, since we don't cope with any of that.
18561852
* (Well, actually, this only matters for properties that need to be valid
18571853
* during bootstrap or before RelationCacheInitializePhase3 runs, and none of

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp