Commit 70dc2db7 authored by Alvaro Herrera's avatar Alvaro Herrera

Fix object identities for pg_conversion objects

This was already fixed in 0d906798, but I failed to update the
array-formatted case.  This is not backpatched, since this only affects
the code path introduced by commit a6762014.
parent 5f6a9d05
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment