Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc330842

Browse files
committed
Reorganize heap_page_prune() function comment
heap_page_prune()'s function header comment didn't explain theparameters in the same order they appear in the function. Fix that.Author: Melanie Plageman <melanieplageman@gmail.com>Discussion:https://www.postgresql.org/message-id/20240320013602.6sypr4cx6sefpemg@liskov
1 parent522ed12 commitc330842

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

‎src/backend/access/heap/pruneheap.c

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -197,18 +197,17 @@ heap_page_prune_opt(Relation relation, Buffer buffer)
197197
* array following array truncation by us.
198198
*
199199
* vistest is used to distinguish whether tuples are DEAD or RECENTLY_DEAD
200-
* (see heap_prune_satisfies_vacuum and
201-
* HeapTupleSatisfiesVacuum).
200+
* (see heap_prune_satisfies_vacuum).
202201
*
203-
* mark_unused_now indicates whether or not dead items can be set LP_UNUSED during
204-
* pruning.
205-
*
206-
* off_loc is the offset location required by the caller to use in error
207-
* callback.
202+
* mark_unused_now indicates whether or not dead items can be set LP_UNUSED
203+
* during pruning.
208204
*
209205
* presult contains output parameters needed by callers such as the number of
210206
* tuples removed and the number of line pointers newly marked LP_DEAD.
211207
* heap_page_prune() is responsible for initializing it.
208+
*
209+
* off_loc is the offset location required by the caller to use in error
210+
* callback.
212211
*/
213212
void
214213
heap_page_prune(Relationrelation,Bufferbuffer,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp