Thread

  1. [PATCH v9 19/21] Almost cosmetic fixes

    Heikki Linnakangas <heikki.linnakangas@iki.fi> — 2024-03-27T21:44:17Z

    ---
     src/backend/access/heap/pruneheap.c | 7 +++++--
     1 file changed, 5 insertions(+), 2 deletions(-)
    
    diff --git a/src/backend/access/heap/pruneheap.c b/src/backend/access/heap/pruneheap.c
    index 337331901ab..2bd2e858bcd 100644
    --- a/src/backend/access/heap/pruneheap.c
    +++ b/src/backend/access/heap/pruneheap.c
    @@ -38,7 +38,10 @@ typedef struct
     	TransactionId visibility_cutoff_xid;
     	bool		all_visible_except_removable;
     
    -	TransactionId new_prune_xid;	/* new prune hint value for page */
    +	/*
    +	 * Fields describing what to do to the page
    +	 */
    +	TransactionId new_prune_xid;		/* new prune hint value */
     	TransactionId latest_xid_removed;
     	int			nredirected;	/* numbers of entries in arrays below */
     	int			ndead;
    @@ -61,7 +64,7 @@ typedef struct
     	/*
     	 * Tuple visibility is only computed once for each tuple, for correctness
     	 * and efficiency reasons; see comment in heap_page_prune_and_freeze() for
    -	 * details. This is of type int8[], instead of HTSV_Result[], so we can
    +	 * details.  This is of type int8[], instead of HTSV_Result[], so we can
     	 * use -1 to indicate no visibility has been computed, e.g. for LP_DEAD
     	 * items.
     	 *
    -- 
    2.40.1
    
    
    --caj67xgx3lukmr5f
    Content-Type: text/x-diff; charset=us-ascii
    Content-Disposition: attachment;
    	filename="v9-0020-Move-frz_conflict_horizon-to-tighter-scope.patch"