7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.8 1997/08/12 22 :51:37 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.9 1997/08/18 20 :51:34 momjian Exp $
11
11
*
12
12
* NOTES
13
13
* Postgres hash pages look like ordinary relation pages. The opaque
@@ -195,8 +195,8 @@ _hash_getbuf(Relation rel, BlockNumber blkno, int access)
195
195
_hash_setpagelock (rel , blkno , access );
196
196
break ;
197
197
default :
198
- elog (WARN , "_hash_getbuf: invalid access (%d) on new blk: %.* s" ,
199
- access , NAMEDATALEN , RelationGetRelationName (rel ));
198
+ elog (WARN , "_hash_getbuf: invalid access (%d) on new blk: %s" ,
199
+ access , RelationGetRelationName (rel ));
200
200
break ;
201
201
}
202
202
buf = ReadBuffer (rel , blkno );
@@ -221,8 +221,8 @@ _hash_relbuf(Relation rel, Buffer buf, int access)
221
221
_hash_unsetpagelock (rel , blkno , access );
222
222
break ;
223
223
default :
224
- elog (WARN , "_hash_relbuf: invalid access (%d) on blk %x: %.* s" ,
225
- access , blkno , NAMEDATALEN , RelationGetRelationName (rel ));
224
+ elog (WARN , "_hash_relbuf: invalid access (%d) on blk %x: %s" ,
225
+ access , blkno , RelationGetRelationName (rel ));
226
226
}
227
227
228
228
ReleaseBuffer (buf );
@@ -279,8 +279,8 @@ _hash_chgbufaccess(Relation rel,
279
279
_hash_relbuf (rel , * bufp , from_access );
280
280
break ;
281
281
default :
282
- elog (WARN , "_hash_chgbufaccess: invalid access (%d) on blk %x: %.* s" ,
283
- from_access , blkno , NAMEDATALEN , RelationGetRelationName (rel ));
282
+ elog (WARN , "_hash_chgbufaccess: invalid access (%d) on blk %x: %s" ,
283
+ from_access , blkno , RelationGetRelationName (rel ));
284
284
break ;
285
285
}
286
286
* bufp = _hash_getbuf (rel , blkno , to_access );
@@ -325,8 +325,8 @@ _hash_setpagelock(Relation rel,
325
325
RelationSetSingleRLockPage (rel , & iptr );
326
326
break ;
327
327
default :
328
- elog (WARN , "_hash_setpagelock: invalid access (%d) on blk %x: %.* s" ,
329
- access , blkno , NAMEDATALEN , RelationGetRelationName (rel ));
328
+ elog (WARN , "_hash_setpagelock: invalid access (%d) on blk %x: %s" ,
329
+ access , blkno , RelationGetRelationName (rel ));
330
330
break ;
331
331
}
332
332
}
@@ -350,8 +350,8 @@ _hash_unsetpagelock(Relation rel,
350
350
RelationUnsetSingleRLockPage (rel , & iptr );
351
351
break ;
352
352
default :
353
- elog (WARN , "_hash_unsetpagelock: invalid access (%d) on blk %x: %.* s" ,
354
- access , blkno , NAMEDATALEN , RelationGetRelationName (rel ));
353
+ elog (WARN , "_hash_unsetpagelock: invalid access (%d) on blk %x: %s" ,
354
+ access , blkno , RelationGetRelationName (rel ));
355
355
break ;
356
356
}
357
357
}
0 commit comments