git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c58624)
Remove stray duplicated comment in heapam.h
Wed, 8 Feb 2023 03:03:26 +0000 (16:03 +1300)
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


diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h
index 8d28bc93ef4bfc755cead35593f9e73451733b9d..8d74d1b7e30fcc33360cc16df6c2e8e3230053ab 100644 (file)
--- a/src/include/access/heapam.h
+++ b/src/include/access/heapam.h
@@ -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 */
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /