diff options
author | Bruce Momjian <bruce@momjian.us> | 1996-12-26 17:47:42 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1996-12-26 17:47:42 +0000 |
commit | 28a08fd4acca2e6968aa00b6cf630e90a5397d7b (patch) | |
tree | a66dfb27ef68354f9ed0d3a1f1640a15b827da11 /src/backend/parser/catalog_utils.c | |
parent | c5aaba2c34f4cca3395c182aa1aa312208bbf119 (diff) | |
download | postgresql-28a08fd4acca2e6968aa00b6cf630e90a5397d7b.tar.gz postgresql-28a08fd4acca2e6968aa00b6cf630e90a5397d7b.zip |
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
Diffstat (limited to 'src/backend/parser/catalog_utils.c')
-rw-r--r-- | src/backend/parser/catalog_utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |