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: a8ffa32)
Remove extra comment at TableAmRoutine.scan_analyze_next_block
2024年6月22日 13:13:08 +0000 (16:13 +0300)
2024年6月22日 13:17:50 +0000 (16:17 +0300)
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


diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h
index 8e583b45cd54791f2324606ca280871957fafa09..da661289c1fd47f842c14595f11361104536d0ee 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

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