File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 88 *
99 *
1010 * IDENTIFICATION
11- * $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.105 2001/01/24 19:42:57 momjian Exp $
11+ * $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.106 2001/02/12 21:03:03 tgl Exp $
1212 *
1313 * NOTES
1414 * Most of the read functions for plan nodes are tested. (In fact, they
@@ -2086,7 +2086,8 @@ readDatum(bool typbyval)
20862086 if (typbyval )
20872087 {
20882088 if (length > (Size ) sizeof (Datum ))
2089- elog (ERROR , "readDatum: byval & length = %u" , length );
2089+ elog (ERROR , "readDatum: byval & length = %lu" ,
2090+ (unsigned long ) length );
20902091 res = (Datum ) 0 ;
20912092 s = (char * ) (& res );
20922093 for (i = 0 ; i < (Size ) sizeof (Datum ); i ++ )
@@ -2110,7 +2111,8 @@ readDatum(bool typbyval)
21102111
21112112 token = pg_strtok (& tokenLength ); /* skip the ']' */
21122113 if (token == NULL || token [0 ] != ']' )
2113- elog (ERROR , "readDatum: ']' expected, length = %d" , length );
2114+ elog (ERROR , "readDatum: ']' expected, length = %lu" ,
2115+ (unsigned long ) length );
21142116
21152117 return res ;
21162118}
You can’t perform that action at this time.
0 commit comments