Commit 794fedc7 authored by Marc G. Fournier's avatar Marc G. Fournier

From: Darren King <darrenk@insightdist.com>


Two incorrect printf formats in parser/parse_type.c.  Prolly done
by me a long time ago when I cleaned up int's and Oid's...

Format flag is really just %u, not %ud.  Harmless, but results in
"type id lookup of 25d failed" instead of only "...25 failed"
parent 9986d9a4
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_type.c,v 1.7 1998/02/26 04:33:36 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_type.c,v 1.8 1998/02/27 19:44:51 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -44,7 +44,7 @@ typeidTypeName(Oid id)
if (!(tup = SearchSysCacheTuple(TYPOID, ObjectIdGetDatum(id),
0, 0, 0)))
{
elog(ERROR, "type id lookup of %ud failed", id);
elog(ERROR, "type id lookup of %u failed", id);
return (NULL);
}
typetuple = (TypeTupleForm) GETSTRUCT(tup);
......@@ -60,7 +60,7 @@ typeidType(Oid id)
if (!(tup = SearchSysCacheTuple(TYPOID, ObjectIdGetDatum(id),
0, 0, 0)))
{
elog(ERROR, "type id lookup of %ud failed", id);
elog(ERROR, "type id lookup of %u failed", id);
return (NULL);
}
return ((Type) tup);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment