|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * 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 $ |
12 | 12 | *
|
13 | 13 | * NOTES
|
14 | 14 | * These routines allow the parser/planner/executor to perform
|
|
53 | 53 |
|
54 | 54 | Adding system caches:
|
55 | 55 |
|
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. |
59 | 58 |
|
60 | 59 | Add your entry to the cacheinfo[] array below. All cache lists are
|
61 | 60 | alphabetical, so add it in the proper place. Specify the relation OID,
|
@@ -307,7 +306,7 @@ static const struct cachedesc cacheinfo[] = {
|
307 | 306 | },
|
308 | 307 | {ConstraintRelationId,/* CONSTROID */
|
309 | 308 | ConstraintOidIndexId,
|
310 |
| -0, |
| 309 | +Anum_pg_constraint_conrelid, |
311 | 310 | 1,
|
312 | 311 | {
|
313 | 312 | ObjectIdAttributeNumber,
|
|