From: Marc G. Fournier Date: Fri, 27 Feb 1998 19:44:51 +0000 (+0000) Subject: From: Darren King X-Git-Tag: REL6_3~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=794fedc73519eb1258610cb7dc63f3d31047e8d0;p=postgresql From: Darren King 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" --- diff --git a/src/backend/parser/parse_type.c b/src/backend/parser/parse_type.c index 97c080ca24..9019c62122 100644 --- a/src/backend/parser/parse_type.c +++ b/src/backend/parser/parse_type.c @@ -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);