Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbec82a8

Browse files
committed
Print OIDs as %u not %d.
1 parent88a30e6 commitbec82a8

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
return0;
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)

[8]ページ先頭

©2009-2025 Movatter.jp