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: 8e621c1)
Fix outdated comment in tuplesort.h
Wed, 2 Nov 2022 02:29:31 +0000 (15:29 +1300)
Wed, 2 Nov 2022 02:29:31 +0000 (15:29 +1300)
This was outdated by 77bae396d.

Backpatch-through: 15, where 77bae396d was added


diff --git a/src/include/utils/tuplesort.h b/src/include/utils/tuplesort.h
index 59fbe2bd35b41a22e0c19b1700cd400565f36b4c..15f2a4a795065431329d04e214ecd26aa32c2c9b 100644 (file)
--- a/src/include/utils/tuplesort.h
+++ b/src/include/utils/tuplesort.h
@@ -378,12 +378,11 @@ extern void tuplesort_initialize_shared(Sharedsort *shared, int nWorkers,
extern void tuplesort_attach_shared(Sharedsort *shared, dsm_segment *seg);
/*
- * These routines may only be called if randomAccess was specified 'true'.
- * Likewise, backwards scan in gettuple/getdatum is only allowed if
- * randomAccess was specified. Note that parallel sorts do not support
- * randomAccess.
+ * These routines may only be called if TUPLESORT_RANDOMACCESS was specified
+ * during tuplesort_begin_*. Additionally backwards scan in gettuple/getdatum
+ * also require TUPLESORT_RANDOMACCESS. Note that parallel sorts do not
+ * support random access.
*/
-
extern void tuplesort_rescan(Tuplesortstate *state);
extern void tuplesort_markpos(Tuplesortstate *state);
extern void tuplesort_restorepos(Tuplesortstate *state);
This is the main PostgreSQL git repository.
RSS Atom

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