Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 23f4427

Browse files
committed
Fix outdated comment in tuplesort.h
This was outdated by 77bae39. Backpatch-through: 15, where 77bae39 was added
1 parent c3d16eb commit 23f4427

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/include/utils/tuplesort.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,11 @@ extern void tuplesort_initialize_shared(Sharedsort *shared, int nWorkers,
279279
extern void tuplesort_attach_shared(Sharedsort *shared, dsm_segment *seg);
280280

281281
/*
282-
* These routines may only be called if randomAccess was specified 'true'.
283-
* Likewise, backwards scan in gettuple/getdatum is only allowed if
284-
* randomAccess was specified. Note that parallel sorts do not support
285-
* randomAccess.
282+
* These routines may only be called if TUPLESORT_RANDOMACCESS was specified
283+
* during tuplesort_begin_*. Additionally backwards scan in gettuple/getdatum
284+
* also require TUPLESORT_RANDOMACCESS. Note that parallel sorts do not
285+
* support random access.
286286
*/
287-
288287
extern void tuplesort_rescan(Tuplesortstate *state);
289288
extern void tuplesort_markpos(Tuplesortstate *state);
290289
extern void tuplesort_restorepos(Tuplesortstate *state);

0 commit comments

Comments
 (0)