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

Commit053948a

Browse files
committed
The CONSTROID syscache should show conrelid as a relation OID column.
Not clear that there's any observable bug at present from this omission,but it seems like something to fix going forward.
1 parent4136e1d commit053948a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/cache/syscache.c,v 1.114 2008/01/01 19:45:53 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/cache/syscache.c,v 1.115 2008/05/07 01:46:04 tgl Exp $
1212
*
1313
* NOTES
1414
* These routines allow the parser/planner/executor to perform
@@ -53,9 +53,8 @@
5353
5454
Adding system caches:
5555
56-
Add your new cache to the list in include/utils/syscache.h. Keep
57-
the list sorted alphabetically and adjust the cache numbers
58-
accordingly.
56+
Add your new cache to the list in include/utils/syscache.h.
57+
Keep the list sorted alphabetically.
5958
6059
Add your entry to the cacheinfo[] array below. All cache lists are
6160
alphabetical, so add it in the proper place. Specify the relation OID,
@@ -307,7 +306,7 @@ static const struct cachedesc cacheinfo[] = {
307306
},
308307
{ConstraintRelationId,/* CONSTROID */
309308
ConstraintOidIndexId,
310-
0,
309+
Anum_pg_constraint_conrelid,
311310
1,
312311
{
313312
ObjectIdAttributeNumber,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp