Remove stray duplicated comment in heapam.h
authorDavid Rowley <[email protected]>
Wed, 8 Feb 2023 03:03:26 +0000 (16:03 +1300)
committerDavid Rowley <[email protected]>
Wed, 8 Feb 2023 03:03:26 +0000 (16:03 +1300)
This is just the same as what's written under the rs_numblocks field.

Reported-by: Melanie Plageman
Discussion: https://postgr.es/m/20230207204127.7vs6krqjqn5farr7@liskov

src/include/access/heapam.h

index 8d28bc93ef4bfc755cead35593f9e73451733b9d..8d74d1b7e30fcc33360cc16df6c2e8e3230053ab 100644 (file)
@@ -62,7 +62,6 @@ typedef struct HeapScanDescData
    Buffer      rs_cbuf;        /* current buffer in scan, if any */
    /* NB: if rs_cbuf is not InvalidBuffer, we hold a pin on that buffer */
 
-   /* rs_numblocks is usually InvalidBlockNumber, meaning "scan whole rel" */
    BufferAccessStrategy rs_strategy;   /* access strategy for reads */
 
    HeapTupleData rs_ctup;      /* current tuple in scan, if any */