In syscache.c, the structure cachedesc contains a field reloidattr that is
supposed to contain the number of an attribute that is an OID reference to
another table. But what if there are two such attributes?
The concrete case is an index on pg_cast (castsource, casttarget), which
both reference pg_type.
--
Peter Eisentraut peter_e(at)gmx(dot)net