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
This commit is contained in:
Alexander Korotkov 2022-07-27 08:28:10 +03:00
parent 097366c45f
commit ec92fe9835
2 changed files with 471 additions and 349 deletions

File diff suppressed because it is too large Load Diff

View File

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