Skip to content

Commit 3712e0e

Browse files
committed
Fix outdated comment in tuplesort.h
This was outdated by 77bae39. Backpatch-through: 15, where 77bae39 was added
1 parent 8e621c1 commit 3712e0e

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
@@ -378,12 +378,11 @@ extern void tuplesort_initialize_shared(Sharedsort *shared, int nWorkers,
378378
extern void tuplesort_attach_shared(Sharedsort *shared, dsm_segment *seg);
379379

380380
/*
381-
* These routines may only be called if randomAccess was specified 'true'.
382-
* Likewise, backwards scan in gettuple/getdatum is only allowed if
383-
* randomAccess was specified. Note that parallel sorts do not support
384-
* randomAccess.
381+
* These routines may only be called if TUPLESORT_RANDOMACCESS was specified
382+
* during tuplesort_begin_*. Additionally backwards scan in gettuple/getdatum
383+
* also require TUPLESORT_RANDOMACCESS. Note that parallel sorts do not
384+
* support random access.
385385
*/
386-
387386
extern void tuplesort_rescan(Tuplesortstate *state);
388387
extern void tuplesort_markpos(Tuplesortstate *state);
389388
extern void tuplesort_restorepos(Tuplesortstate *state);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy