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/parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/parser/parser.c') diff --git a/src/backend/parser/parser.c b/src/backend/parser/parser.c index 728b326febd..0b04666c179 100644 --- a/src/backend/parser/parser.c +++ b/src/backend/parser/parser.c @@ -6,7 +6,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.15 1996/12/07 04:38:11 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.16 1996/12/26 17:47:42 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -357,7 +357,7 @@ parser_typecast2(Node *expr, Oid exprType, Type tp, int typlen) const_string = (char *) textout((struct varlena *)const_string); break; default: - elog(WARN,"unknown type %ud ",exprType); + elog(WARN,"unknown type %u ",exprType); } if (!exprType) { @@ -405,7 +405,7 @@ parser_typecast2(Node *expr, Oid exprType, Type tp, int typlen) 0 /*was omitted*/, 0 /* not a set */); /* - printf("adt %s : %ud %d %d\n",CString(expr),typeid(tp) , + printf("adt %s : %u %d %d\n",CString(expr),typeid(tp) , len,cp); */ if (string_palloced) pfree(const_string); -- cgit v1.2.3