postgres.git / summary / log / commit / refs

commit    70a845c04a47645b58f8276a6b3ab201ea8ec426
Author:   Alexander Korotkov <akorotkov@postgresql.org>
Date:     Sat Jun 22 13:13:08 2024 +0000
First released in: 17.0

    Remove extra comment at TableAmRoutine.scan_analyze_next_block
    
    The extra comment was accidentally copied here by 6377e12a from
    heapam_scan_analyze_next_block().
    
    Reported-by: Matthias van de Meent
    Discussion: https://postgr.es/m/CAEze2WjC5PiweG-4oe0hB_Zr59iF3tRE1gURm8w4Cg5b6JEBGw%40mail.gmail.com


src/include/access/tableam.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h index 8e583b45cd5..da661289c1f 100644 --- a/src/include/access/tableam.h +++ b/src/include/access/tableam.h @@ -655,16 +655,6 @@ typedef struct TableAmRoutine struct VacuumParams *params, BufferAccessStrategy bstrategy); - /* - * Prepare to analyze the next block in the read stream. Returns false if - * the stream is exhausted and true otherwise. The scan must have been - * started with SO_TYPE_ANALYZE option. - * - * This routine holds a buffer pin and lock on the heap page. They are - * held until heapam_scan_analyze_next_tuple() returns false. That is - * until all the items of the heap page are analyzed. - */ - /* * Prepare to analyze block `blockno` of `scan`. The scan has been started * with table_beginscan_analyze(). See also [parent: a8ffa32377a7]