Content-Length: 274896 | pFad | https://github.com/postgrespro/postgres/commit/06c8a5090ed9ec188557a86d4de11384f5128ec0

5A Improve code comments in b0eaa4c51b. · postgrespro/postgres@06c8a50 · GitHub
Skip to content

Commit 06c8a50

Browse files
author
Amit Kapila
committed
1 parent d3f48df commit 06c8a50

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/backend/storage/freespace/freespace.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ GetPageWithFreeSpace(Relation rel, Size spaceNeeded, bool check_fsm_only)
198198
}
199199
else if (nblocks > 0)
200200
{
201-
/* Create or update local map and get first candidate block. */
201+
/* Initialize local map and get first candidate block. */
202202
fsm_local_set(rel, nblocks);
203203
target_block = fsm_local_search();
204204
}
@@ -1119,8 +1119,7 @@ fsm_allow_writes(Relation rel, BlockNumber heapblk,
11191119
}
11201120

11211121
/*
1122-
* Initialize or update the local map of blocks to try, for when there is
1123-
* no FSM.
1122+
* Initialize the local map of blocks to try, for when there is no FSM.
11241123
*
11251124
* When we initialize the map, the whole heap is potentially available to
11261125
* try. Testing revealed that trying every block can cause a small

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres/commit/06c8a5090ed9ec188557a86d4de11384f5128ec0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy