diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-04-16 04:14:49 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-04-16 04:14:49 +0000 |
commit | bec82a85715bcc07e75f231610f858bf8c710d5b (patch) | |
tree | 03675d3da926313ccc72e50b8977674dc9f09fcd /contrib/array/array_iterator.c | |
parent | 88a30e68f604701d6b7be09c4d33d8b9313fe8c4 (diff) | |
download | postgresql-bec82a85715bcc07e75f231610f858bf8c710d5b.tar.gz postgresql-bec82a85715bcc07e75f231610f858bf8c710d5b.zip |
Print OIDs as %u not %d.
Diffstat (limited to 'contrib/array/array_iterator.c')
-rw-r--r-- | contrib/array/array_iterator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/array/array_iterator.c b/contrib/array/array_iterator.c index aa8697fb037..3bee2e468a1 100644 --- a/contrib/array/array_iterator.c +++ b/contrib/array/array_iterator.c @@ -69,7 +69,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value) typ_tuple = SearchSysCacheTuple(TYPEOID, ObjectIdGetDatum(elemtype), 0, 0, 0); if (!HeapTupleIsValid(typ_tuple)) { - elog(ERROR, "array_iterator: cache lookup failed for type %d", elemtype); + elog(ERROR, "array_iterator: cache lookup failed for type %u", elemtype); return 0; } typ_struct = (Form_pg_type) GETSTRUCT(typ_tuple); @@ -83,7 +83,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value) pronargs = finf.fn_nargs; /* Tobias Gabele Jan 18 1999 */ if ((proc_fn == NULL) || (pronargs != 2)) { - elog(ERROR, "array_iterator: fmgr_info lookup failed for oid %d", proc); + elog(ERROR, "array_iterator: fmgr_info lookup failed for oid %u", proc); return (0); } |