Skip to content

Commit 70dc2db

Browse files
committed
Fix object identities for pg_conversion objects
This was already fixed in 0d90679, but I failed to update the array-formatted case. This is not backpatched, since this only affects the code path introduced by commit a676201.
1 parent 5f6a9d0 commit 70dc2db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/catalog/objectaddress.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3756,8 +3756,8 @@ getObjectIdentityParts(const ObjectAddress *object,
37563756
quote_qualified_identifier(schema,
37573757
NameStr(conForm->conname)));
37583758
if (objname)
3759-
*objname = list_make1(pstrdup(NameStr(conForm->conname)));
3760-
pfree(schema);
3759+
*objname = list_make2(schema,
3760+
pstrdup(NameStr(conForm->conname)));
37613761
ReleaseSysCache(conTup);
37623762
break;
37633763
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy