mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Reorganize heap_page_prune() function comment
heap_page_prune()'s function header comment didn't explain the parameters 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
This commit is contained in:
@ -197,18 +197,17 @@ heap_page_prune_opt(Relation relation, Buffer buffer)
|
|||||||
* array following array truncation by us.
|
* array following array truncation by us.
|
||||||
*
|
*
|
||||||
* vistest is used to distinguish whether tuples are DEAD or RECENTLY_DEAD
|
* vistest is used to distinguish whether tuples are DEAD or RECENTLY_DEAD
|
||||||
* (see heap_prune_satisfies_vacuum and
|
* (see heap_prune_satisfies_vacuum).
|
||||||
* HeapTupleSatisfiesVacuum).
|
|
||||||
*
|
*
|
||||||
* mark_unused_now indicates whether or not dead items can be set LP_UNUSED during
|
* mark_unused_now indicates whether or not dead items can be set LP_UNUSED
|
||||||
* pruning.
|
* during pruning.
|
||||||
*
|
|
||||||
* off_loc is the offset location required by the caller to use in error
|
|
||||||
* callback.
|
|
||||||
*
|
*
|
||||||
* presult contains output parameters needed by callers such as the number of
|
* presult contains output parameters needed by callers such as the number of
|
||||||
* tuples removed and the number of line pointers newly marked LP_DEAD.
|
* tuples removed and the number of line pointers newly marked LP_DEAD.
|
||||||
* heap_page_prune() is responsible for initializing it.
|
* heap_page_prune() is responsible for initializing it.
|
||||||
|
*
|
||||||
|
* off_loc is the offset location required by the caller to use in error
|
||||||
|
* callback.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
heap_page_prune(Relation relation, Buffer buffer,
|
heap_page_prune(Relation relation, Buffer buffer,
|
||||||
|
Reference in New Issue
Block a user