1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +03:00

Improve documention on loading large data sets into plperl.

David Fetter
This commit is contained in:
Bruce Momjian
2005-08-12 21:42:53 +00:00
parent ed63689b43
commit fab177e64f
2 changed files with 74 additions and 12 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/buffer/bufmgr.c,v 1.193 2005/08/12 05:05:50 tgl Exp $
* $PostgreSQL: pgsql/src/backend/storage/buffer/bufmgr.c,v 1.194 2005/08/12 21:42:53 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -153,6 +153,8 @@ ReadBuffer(Relation reln, BlockNumber blockNum)
* block is not currently in memory.
*/
bufHdr = BufferAlloc(reln, blockNum, &found);
/* we are guaranted that nobody else has touched this will-be-new block */
Assert(!(found && isExtend));
if (found)
BufferHitCount++;
}