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)
2808
2808
{
2809
2809
HeapTuple conTup ;
2810
2810
Form_pg_conversion conForm ;
2811
+ char * schema ;
2811
2812
2812
2813
conTup = SearchSysCache1 (CONVOID ,
2813
2814
ObjectIdGetDatum (object -> objectId ));
2814
2815
if (!HeapTupleIsValid (conTup ))
2815
2816
elog (ERROR , "cache lookup failed for conversion %u" ,
2816
2817
object -> objectId );
2817
2818
conForm = (Form_pg_conversion ) GETSTRUCT (conTup );
2819
+ schema = get_namespace_name (conForm -> connamespace );
2818
2820
appendStringInfoString (& buffer ,
2819
- quote_identifier (NameStr (conForm -> conname )));
2821
+ quote_qualified_identifier (schema ,
2822
+ NameStr (conForm -> conname )));
2823
+ pfree (schema );
2820
2824
ReleaseSysCache (conTup );
2821
2825
break ;
2822
2826
}
You can’t perform that action at this time.
0 commit comments