Split TuplesortPublic from Tuplesortstate

The new TuplesortPublic data structure contains the definition of
sort-variant-specific interface methods and the part of Tuple sort operation
state required by their implementations.  This will let define Tuple sort
variants without knowledge of Tuplesortstate, that is without knowledge
of generic sort implementation guts.

Discussion: https://postgr.es/m/CAPpHfdvjix0Ahx-H3Jp1M2R%2B_74P-zKnGGygx4OWr%3DbUQ8BNdw%40mail.gmail.com
Author: Alexander Korotkov
Reviewed-by: Pavel Borisov, Maxim Orlov, Matthias van de Meent
Reviewed-by: Andres Freund, John Naylor
pull/95/head
Alexander Korotkov 3 years ago
parent 097366c45f
commit ec92fe9835
  1. 800
      src/backend/utils/sort/tuplesort.c
  2. 6
      src/tools/pgindent/typedefs.list

File diff suppressed because it is too large Load Diff

@ -2833,8 +2833,14 @@ TupleHashTable
TupleQueueReader
TupleTableSlot
TupleTableSlotOps
TuplesortClusterArg
TuplesortDatumArg
TuplesortIndexArg
TuplesortIndexBTreeArg
TuplesortIndexHashArg
TuplesortInstrumentation
TuplesortMethod
TuplesortPublic
TuplesortSpaceType
Tuplesortstate
Tuplestorestate

Loading…
Cancel
Save