@@ -2086,7 +2086,7 @@ enforce_generic_type_consistency(const Oid *actual_arg_types,
2086
2086
if (OidIsValid (elem_typeid ) && actual_type != elem_typeid )
2087
2087
ereport (ERROR ,
2088
2088
(errcode (ERRCODE_DATATYPE_MISMATCH ),
2089
- errmsg ("arguments declared \"anyelement \" are not all alike" ),
2089
+ errmsg ("arguments declared \"%s \" are not all alike" , "anyelement " ),
2090
2090
errdetail ("%s versus %s" ,
2091
2091
format_type_be (elem_typeid ),
2092
2092
format_type_be (actual_type ))));
@@ -2106,7 +2106,7 @@ enforce_generic_type_consistency(const Oid *actual_arg_types,
2106
2106
if (OidIsValid (array_typeid ) && actual_type != array_typeid )
2107
2107
ereport (ERROR ,
2108
2108
(errcode (ERRCODE_DATATYPE_MISMATCH ),
2109
- errmsg ("arguments declared \"anyarray \" are not all alike" ),
2109
+ errmsg ("arguments declared \"%s \" are not all alike" , "anyarray " ),
2110
2110
errdetail ("%s versus %s" ,
2111
2111
format_type_be (array_typeid ),
2112
2112
format_type_be (actual_type ))));
@@ -2126,7 +2126,7 @@ enforce_generic_type_consistency(const Oid *actual_arg_types,
2126
2126
if (OidIsValid (range_typeid ) && actual_type != range_typeid )
2127
2127
ereport (ERROR ,
2128
2128
(errcode (ERRCODE_DATATYPE_MISMATCH ),
2129
- errmsg ("arguments declared \"anyrange \" are not all alike" ),
2129
+ errmsg ("arguments declared \"%s \" are not all alike" , "anyrange " ),
2130
2130
errdetail ("%s versus %s" ,
2131
2131
format_type_be (range_typeid ),
2132
2132
format_type_be (actual_type ))));
@@ -2146,7 +2146,7 @@ enforce_generic_type_consistency(const Oid *actual_arg_types,
2146
2146
if (OidIsValid (multirange_typeid ) && actual_type != multirange_typeid )
2147
2147
ereport (ERROR ,
2148
2148
(errcode (ERRCODE_DATATYPE_MISMATCH ),
2149
- errmsg ("arguments declared \"anymultirange \" are not all alike" ),
2149
+ errmsg ("arguments declared \"%s \" are not all alike" , "anymultirange " ),
2150
2150
errdetail ("%s versus %s" ,
2151
2151
format_type_be (multirange_typeid ),
2152
2152
format_type_be (actual_type ))));
@@ -2201,7 +2201,7 @@ enforce_generic_type_consistency(const Oid *actual_arg_types,
2201
2201
if (anycompatible_range_typeid != actual_type )
2202
2202
ereport (ERROR ,
2203
2203
(errcode (ERRCODE_DATATYPE_MISMATCH ),
2204
- errmsg ("arguments declared \"anycompatiblerange \" are not all alike" ),
2204
+ errmsg ("arguments declared \"%s \" are not all alike" , "anycompatiblerange " ),
2205
2205
errdetail ("%s versus %s" ,
2206
2206
format_type_be (anycompatible_range_typeid ),
2207
2207
format_type_be (actual_type ))));
@@ -2234,7 +2234,7 @@ enforce_generic_type_consistency(const Oid *actual_arg_types,
2234
2234
if (anycompatible_multirange_typeid != actual_type )
2235
2235
ereport (ERROR ,
2236
2236
(errcode (ERRCODE_DATATYPE_MISMATCH ),
2237
- errmsg ("arguments declared \"anycompatiblemultirange \" are not all alike" ),
2237
+ errmsg ("arguments declared \"%s \" are not all alike" , "anycompatiblemultirange " ),
2238
2238
errdetail ("%s versus %s" ,
2239
2239
format_type_be (anycompatible_multirange_typeid ),
2240
2240
format_type_be (actual_type ))));
0 commit comments