提升external sort性能
This commit is contained in:
@ -68,5 +68,6 @@ extern size_t LogicalTapeBackspace(LogicalTapeSet *lts, int tapenum, size_t size
|
||||
extern void LogicalTapeSeek(LogicalTapeSet *lts, int tapenum, long blocknum, int offset);
|
||||
extern void LogicalTapeTell(LogicalTapeSet *lts, int tapenum, long *blocknum, int *offset);
|
||||
extern long LogicalTapeSetBlocks(LogicalTapeSet *lts);
|
||||
extern void LogicalTapeAssignReadBufferSize(LogicalTapeSet *lts, int tapenum, size_t bufsize);
|
||||
|
||||
#endif /* LOGTAPE_H */
|
||||
@ -152,8 +152,8 @@ extern void tuplesort_performsort(Tuplesortstate* state);
|
||||
extern bool tuplesort_gettupleslot(Tuplesortstate* state, bool forward, TupleTableSlot* slot, Datum* abbrev);
|
||||
extern bool tuplesort_gettupleslot_into_tuplestore(
|
||||
Tuplesortstate* state, bool forward, TupleTableSlot* slot, Datum* abbrev, Tuplestorestate* tstate);
|
||||
extern void* tuplesort_getheaptuple(Tuplesortstate* state, bool forward, bool* should_free);
|
||||
extern IndexTuple tuplesort_getindextuple(Tuplesortstate* state, bool forward, bool* should_free);
|
||||
extern void* tuplesort_getheaptuple(Tuplesortstate* state, bool forward);
|
||||
extern IndexTuple tuplesort_getindextuple(Tuplesortstate* state, bool forward);
|
||||
extern bool tuplesort_getdatum(Tuplesortstate* state, bool forward, Datum* val, bool* isNull);
|
||||
|
||||
extern void tuplesort_end(Tuplesortstate* state);
|
||||
|
||||
Reference in New Issue
Block a user