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)
2785
2785
{
2786
2786
HeapTuple conTup ;
2787
2787
Form_pg_conversion conForm ;
2788
+ char * schema ;
2788
2789
2789
2790
conTup = SearchSysCache1 (CONVOID ,
2790
2791
ObjectIdGetDatum (object -> objectId ));
2791
2792
if (!HeapTupleIsValid (conTup ))
2792
2793
elog (ERROR , "cache lookup failed for conversion %u" ,
2793
2794
object -> objectId );
2794
2795
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 );
2797
2801
ReleaseSysCache (conTup );
2798
2802
break ;
2799
2803
}
You can’t perform that action at this time.
0 commit comments