pgsql: Use sort_template.h for qsort() and qsort_arg().

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() and qsort_arg().
Date: 2021-03-03 04:14:26
Message-ID: E1lHIu2-0002hh-PB@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use sort_template.h for qsort() and qsort_arg().

Reduce duplication by using the new template.

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/f374f4d66425060158d3c743dc6fb16cc0a2756a

Modified Files
--------------
src/port/qsort.c | 227 ++------------------------------------------------
src/port/qsort_arg.c | 228 ++-------------------------------------------------
2 files changed, 15 insertions(+), 440 deletions(-)

Browse pgsql-committers by date

  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.