| From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add sort_template.h for making sort functions. |
| Date: | 2021-03-03 04:14:26 |
| Message-ID: | E1lHIu2-0002hg-OC@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add sort_template.h for making sort functions.
Move our qsort implementation into a header that can be used to define
specialized functions for better performance and reduced duplication.
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/0a1f1d3cac6baaa3744b89336673caba702f7628
Modified Files
--------------
src/include/lib/sort_template.h | 431 +++++++++++++++++++++++++++++++++++++++
src/tools/pgindent/typedefs.list | 2 +
2 files changed, 433 insertions(+)
| 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. |