Split tuplesortvariants.c from tuplesort.c
authorAlexander Korotkov <akorotkov@postgresql.org>
Wed, 27 Jul 2022 05:28:26 +0000 (08:28 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Wed, 27 Jul 2022 05:28:26 +0000 (08:28 +0300)
commitd0b193c0fad13cf35122b0d3dc805c76e323e8bf
tree3264a78a1e6b8d540ef808a2db1763ae6185f3fd
parentec92fe98356a8a36427fe9ef52873b50fe17852e
Split tuplesortvariants.c from tuplesort.c

This commit puts the implementation of Tuple sort variants into the separate
file tuplesortvariants.c.  That gives better separation of the code and
serves well as the demonstration that Tuple sort variant can be defined outside
of tuplesort.c.

Discussion: http://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/Makefile
src/backend/utils/sort/tuplesort.c
src/backend/utils/sort/tuplesortvariants.c [new file with mode: 0644]
src/include/utils/tuplesort.h