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.
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;
}