ObjTree *ccStmt;
char *command;
- conTup = SearchSysCache1(CONDEFAULT, ObjectIdGetDatum(objectId));
+ conTup = SearchSysCache1(CONOID, ObjectIdGetDatum(objectId));
if (!HeapTupleIsValid(conTup))
elog(ERROR, "cache lookup failed for conversion with OID %u", objectId);
conForm = (Form_pg_conversion) GETSTRUCT(conTup);
},
8
},
+ {ConversionRelationId, /* CONOID */
+ ConversionOidIndexId,
+ 1,
+ {
+ ObjectIdAttributeNumber,
+ 0,
+ 0,
+ 0
+ },
+ 8
+ },
{ConstraintRelationId, /* CONSTROID */
ConstraintOidIndexId,
1,