File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2785,15 +2785,19 @@ getObjectIdentity(const ObjectAddress *object)
27852785 {
27862786 HeapTuple conTup ;
27872787 Form_pg_conversion conForm ;
2788+ char * schema ;
27882789
27892790 conTup = SearchSysCache1 (CONVOID ,
27902791 ObjectIdGetDatum (object -> objectId ));
27912792 if (!HeapTupleIsValid (conTup ))
27922793 elog (ERROR , "cache lookup failed for conversion %u" ,
27932794 object -> objectId );
27942795 conForm = (Form_pg_conversion ) GETSTRUCT (conTup );
2795- appendStringInfo (& buffer , "%s" ,
2796- quote_identifier (NameStr (conForm -> conname )));
2796+ schema = get_namespace_name (conForm -> connamespace );
2797+ appendStringInfoString (& buffer ,
2798+ quote_qualified_identifier (schema ,
2799+ NameStr (conForm -> conname )));
2800+ pfree (schema );
27972801 ReleaseSysCache (conTup );
27982802 break ;
27992803 }
You can’t perform that action at this time.
0 commit comments