8
8
*
9
9
*
10
10
* 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 $
12
12
*
13
13
* NOTES
14
14
* Most of the read functions for plan nodes are tested. (In fact, they
@@ -2086,7 +2086,8 @@ readDatum(bool typbyval)
2086
2086
if (typbyval )
2087
2087
{
2088
2088
if (length > (Size )sizeof (Datum ))
2089
- elog (ERROR ,"readDatum: byval & length = %u" ,length );
2089
+ elog (ERROR ,"readDatum: byval & length = %lu" ,
2090
+ (unsigned long )length );
2090
2091
res = (Datum )0 ;
2091
2092
s = (char * ) (& res );
2092
2093
for (i = 0 ;i < (Size )sizeof (Datum );i ++ )
@@ -2110,7 +2111,8 @@ readDatum(bool typbyval)
2110
2111
2111
2112
token = pg_strtok (& tokenLength );/* skip the ']' */
2112
2113
if (token == NULL || token [0 ]!= ']' )
2113
- elog (ERROR ,"readDatum: ']' expected, length = %d" ,length );
2114
+ elog (ERROR ,"readDatum: ']' expected, length = %lu" ,
2115
+ (unsigned long )length );
2114
2116
2115
2117
return res ;
2116
2118
}