We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8e621c1 commit3712e0eCopy full SHA for 3712e0e
src/include/utils/tuplesort.h
@@ -378,12 +378,11 @@ extern void tuplesort_initialize_shared(Sharedsort *shared, int nWorkers,
378
externvoidtuplesort_attach_shared(Sharedsort*shared,dsm_segment*seg);
379
380
/*
381
- * These routines may only be called ifrandomAccess 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.
+ * These routines may only be called ifTUPLESORT_RANDOMACCESS was specified
+ *during tuplesort_begin_*. Additionallybackwards scan in gettuple/getdatum
+ *also require TUPLESORT_RANDOMACCESS. Note that parallel sorts do not
+ *support random access.
385
*/
386
-
387
externvoidtuplesort_rescan(Tuplesortstate*state);
388
externvoidtuplesort_markpos(Tuplesortstate*state);
389
externvoidtuplesort_restorepos(Tuplesortstate*state);