Content-Length: 275662 | pFad | http://github.com/postgrespro/postgres/commit/3712e0ed47d126e9aa656a34dd56d52770b672b7

8B Fix outdated comment in tuplesort.h · postgrespro/postgres@3712e0e · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/3712e0ed47d126e9aa656a34dd56d52770b672b7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy