From 28a08fd4acca2e6968aa00b6cf630e90a5397d7b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 26 Dec 1996 17:47:42 +0000 Subject: I have this annoying habit (among others) of putting %ud in a printf format strings instead of just %u. There were three occurances of this in catalog_utils.c, two in parser.c and one in rewriteSupport.c in the oid patch that I submitted and was applied. They won't crash anything, but the error messages will have a 'd' after the Oid. Annoying, but none are db-threatening. Sorry about that folks...I'll be more careful in the future... Darren King --- src/backend/parser/catalog_utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backend/parser/catalog_utils.c') diff --git a/src/backend/parser/catalog_utils.c b/src/backend/parser/catalog_utils.c index 98788a260b6..87ba88b315d 100644 --- a/src/backend/parser/catalog_utils.c +++ b/src/backend/parser/catalog_utils.c @@ -6,7 +6,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/Attic/catalog_utils.c,v 1.13 1996/12/11 03:17:49 bryanh Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/Attic/catalog_utils.c,v 1.14 1996/12/26 17:47:41 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1397,7 +1397,7 @@ typeid_get_retinfunc(Oid type_id) 0,0,0); if ( !HeapTupleIsValid ( typeTuple )) elog(WARN, - "typeid_get_retinfunc: Invalid type - oid = %ud", + "typeid_get_retinfunc: Invalid type - oid = %u", type_id); type = (TypeTupleForm) GETSTRUCT(typeTuple); @@ -1415,7 +1415,7 @@ typeid_get_relid(Oid type_id) ObjectIdGetDatum(type_id), 0,0,0); if ( !HeapTupleIsValid ( typeTuple )) - elog(WARN, "typeid_get_relid: Invalid type - oid = %ud ", type_id); + elog(WARN, "typeid_get_relid: Invalid type - oid = %u ", type_id); type = (TypeTupleForm) GETSTRUCT(typeTuple); infunc = type->typrelid; @@ -1441,7 +1441,7 @@ get_typelem(Oid type_id) if (!(typeTuple = SearchSysCacheTuple(TYPOID, ObjectIdGetDatum(type_id), 0,0,0))) { - elog (WARN , "type id lookup of %ud failed", type_id); + elog (WARN , "type id lookup of %u failed", type_id); } type = (TypeTupleForm) GETSTRUCT(typeTuple); -- cgit v1.2.3