Not clear that there's any observable bug at present from this omission,
but it seems like something to fix going forward.
Adding system caches:
- Add your new cache to the list in include/utils/syscache.h. Keep
- the list sorted alphabetically and adjust the cache numbers
- accordingly.
+ Add your new cache to the list in include/utils/syscache.h.
+ Keep the list sorted alphabetically.
Add your entry to the cacheinfo[] array below. All cache lists are
alphabetical, so add it in the proper place. Specify the relation OID,
},
{ConstraintRelationId, /* CONSTROID */
ConstraintOidIndexId,
- 0,
+ Anum_pg_constraint_conrelid,
1,
{
ObjectIdAttributeNumber,