Split tuplesortvariants.c from tuplesort.c
Alexander Korotkov <akorotkov@postgresql.org>
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: 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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/sort/Makefile | modified | +1 −0 |
| src/backend/utils/sort/tuplesort.c | modified | +18 −1711 |
| src/backend/utils/sort/tuplesortvariants.c | added | +1577 −0 |
| src/include/utils/tuplesort.h | modified | +188 −34 |
Discussion
- Custom tuplesorts for extensions 21 messages · 2022-06-23 → 2022-07-27