Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bec82a8

Browse files
committed
Print OIDs as %u not %d.
1 parent 88a30e6 commit bec82a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/array/array_iterator.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value)
6969
typ_tuple = SearchSysCacheTuple(TYPEOID, ObjectIdGetDatum(elemtype), 0, 0, 0);
7070
if (!HeapTupleIsValid(typ_tuple))
7171
{
72-
elog(ERROR, "array_iterator: cache lookup failed for type %d", elemtype);
72+
elog(ERROR, "array_iterator: cache lookup failed for type %u", elemtype);
7373
return 0;
7474
}
7575
typ_struct = (Form_pg_type) GETSTRUCT(typ_tuple);
@@ -83,7 +83,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value)
8383
pronargs = finf.fn_nargs; /* Tobias Gabele Jan 18 1999 */
8484
if ((proc_fn == NULL) || (pronargs != 2))
8585
{
86-
elog(ERROR, "array_iterator: fmgr_info lookup failed for oid %d", proc);
86+
elog(ERROR, "array_iterator: fmgr_info lookup failed for oid %u", proc);
8787
return (0);
8888
}
8989

0 commit comments

Comments
 (0)