]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Split TuplesortPublic from Tuplesortstate
authorAlexander Korotkov <akorotkov@postgresql.org>
Wed, 27 Jul 2022 05:28:10 +0000 (08:28 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Wed, 27 Jul 2022 05:28:10 +0000 (08:28 +0300)
commitec92fe98356a8a36427fe9ef52873b50fe17852e
tree27052e135bb19b93456a93abc600c422b98571ee
parent097366c45f5dfe142eb232dc6d348ca0705a63a9
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
src/backend/utils/sort/tuplesort.c
src/tools/pgindent/typedefs.list