File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2808,15 +2808,19 @@ getObjectIdentity(const ObjectAddress *object)
28082808 {
28092809 HeapTuple conTup ;
28102810 Form_pg_conversion conForm ;
2811+ char * schema ;
28112812
28122813 conTup = SearchSysCache1 (CONVOID ,
28132814 ObjectIdGetDatum (object -> objectId ));
28142815 if (!HeapTupleIsValid (conTup ))
28152816 elog (ERROR , "cache lookup failed for conversion %u" ,
28162817 object -> objectId );
28172818 conForm = (Form_pg_conversion ) GETSTRUCT (conTup );
2819+ schema = get_namespace_name (conForm -> connamespace );
28182820 appendStringInfoString (& buffer ,
2819- quote_identifier (NameStr (conForm -> conname )));
2821+ quote_qualified_identifier (schema ,
2822+ NameStr (conForm -> conname )));
2823+ pfree (schema );
28202824 ReleaseSysCache (conTup );
28212825 break ;
28222826 }
You can’t perform that action at this time.
0 commit comments