Use sort_template.h for qsort_tuple() and qsort_ssup().
Thomas Munro <tmunro@postgresql.org>
Use sort_template.h for qsort_tuple() and qsort_ssup(). Replace the Perl code previously used to generate specialized sort functions with sort_template.h. Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/CA%2BhUKGJ2-eaDqAum5bxhpMNhvuJmRDZxB_Tow0n-gse%2BHG0Yig%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/Makefile | modified | +1 −3 |
| src/backend/utils/sort/gen_qsort_tuple.pl | deleted | +0 −272 |
| src/backend/utils/sort/.gitignore | deleted | +0 −1 |
| src/backend/utils/sort/Makefile | modified | +0 −8 |
| src/backend/utils/sort/tuplesort.c | modified | +20 −1 |
| src/tools/msvc/clean.bat | modified | +0 −1 |
| src/tools/msvc/Solution.pm | modified | +0 −10 |
Discussion
- A qsort template 85 messages · 2021-02-18 → 2022-05-23