diff options
author | Amit Kapila <akapila@postgresql.org> | 2019-03-16 06:55:56 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2019-03-16 06:55:56 +0530 |
commit | 06c8a5090ed9ec188557a86d4de11384f5128ec0 (patch) | |
tree | 50dc39966b06fdbe992e10a6e42e099e3155d65d /src | |
parent | d3f48dfae42f9655425d1f58f396e495c7fb7812 (diff) | |
download | postgresql-06c8a5090ed9ec188557a86d4de11384f5128ec0.tar.gz postgresql-06c8a5090ed9ec188557a86d4de11384f5128ec0.zip |
Improve code comments in b0eaa4c51b.
Author: John Naylor
Discussion: https://postgr.es/m/CACPNZCswjyGJxTT=mxHgK=Z=mJ9uJ4WEx_UO=bNwpR_i0EaHHg@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/storage/freespace/freespace.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/storage/freespace/freespace.c b/src/backend/storage/freespace/freespace.c index 849685f5a07..c3ed4242e2d 100644 --- a/src/backend/storage/freespace/freespace.c +++ b/src/backend/storage/freespace/freespace.c @@ -198,7 +198,7 @@ GetPageWithFreeSpace(Relation rel, Size spaceNeeded, bool check_fsm_only) } else if (nblocks > 0) { - /* Create or update local map and get first candidate block. */ + /* Initialize local map and get first candidate block. */ fsm_local_set(rel, nblocks); target_block = fsm_local_search(); } @@ -1119,8 +1119,7 @@ fsm_allow_writes(Relation rel, BlockNumber heapblk, } /* - * Initialize or update the local map of blocks to try, for when there is - * no FSM. + * Initialize the local map of blocks to try, for when there is no FSM. * * When we initialize the map, the whole heap is potentially available to * try. Testing revealed that trying every block can cause a small |