| From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use sort_template.h for qsort_tuple() and qsort_ssup(). |
| Date: | 2021-03-03 04:14:26 |
| Message-ID: | E1lHIu2-0002hk-Pe@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)yesql(dot)se>
Discussion: https://postgr.es/m/CA%2BhUKGJ2-eaDqAum5bxhpMNhvuJmRDZxB_Tow0n-gse%2BHG0Yig%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8eda3eba3063d619214b59f7bc7ecfc09c21b93a
Modified Files
--------------
src/backend/Makefile | 4 +-
src/backend/utils/sort/.gitignore | 1 -
src/backend/utils/sort/Makefile | 8 -
src/backend/utils/sort/gen_qsort_tuple.pl | 272 ------------------------------
src/backend/utils/sort/tuplesort.c | 21 ++-
src/tools/msvc/Solution.pm | 10 --
src/tools/msvc/clean.bat | 1 -
7 files changed, 21 insertions(+), 296 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2021-03-03 04:32:46 | pgsql: Silence perlcritic warning in commit ee28cacf6. |
| Previous Message | Michael Paquier | 2021-03-03 03:54:15 | Re: pgsql: Extend the abilities of libpq's target_session_attrs parameter. |