Fix outdated comment in tuplesort.h

This was outdated by 77bae396d.

Backpatch-through: 15, where 77bae396d was added
This commit is contained in:
David Rowley 2022-11-02 15:29:31 +13:00
parent 8e621c10c7
commit 3712e0ed47
1 changed files with 4 additions and 5 deletions

View File

@ -378,12 +378,11 @@ extern void tuplesort_initialize_shared(Sharedsort *shared, int nWorkers,
extern void tuplesort_attach_shared(Sharedsort *shared, dsm_segment *seg); extern void tuplesort_attach_shared(Sharedsort *shared, dsm_segment *seg);
/* /*
* These routines may only be called if randomAccess was specified 'true'. * These routines may only be called if TUPLESORT_RANDOMACCESS was specified
* Likewise, backwards scan in gettuple/getdatum is only allowed if * during tuplesort_begin_*. Additionally backwards scan in gettuple/getdatum
* randomAccess was specified. Note that parallel sorts do not support * also require TUPLESORT_RANDOMACCESS. Note that parallel sorts do not
* randomAccess. * support random access.
*/ */
extern void tuplesort_rescan(Tuplesortstate *state); extern void tuplesort_rescan(Tuplesortstate *state);
extern void tuplesort_markpos(Tuplesortstate *state); extern void tuplesort_markpos(Tuplesortstate *state);
extern void tuplesort_restorepos(Tuplesortstate *state); extern void tuplesort_restorepos(Tuplesortstate *state);