Fix object identities for pg_conversion objects

This was already fixed in 0d906798f, but I failed to update the
array-formatted case.  This is not backpatched, since this only affects
the code path introduced by commit a676201490c.
This commit is contained in:
Alvaro Herrera 2015-04-06 11:15:13 -03:00
parent 5f6a9d056a
commit 70dc2db7f1

@ -3756,8 +3756,8 @@ getObjectIdentityParts(const ObjectAddress *object,
quote_qualified_identifier(schema,
NameStr(conForm->conname)));
if (objname)
*objname = list_make1(pstrdup(NameStr(conForm->conname)));
pfree(schema);
*objname = list_make2(schema,
pstrdup(NameStr(conForm->conname)));
ReleaseSysCache(conTup);
break;
}