Use sort_template.h for qsort() and qsort_arg().
Thomas Munro <tmunro@postgresql.org>
Use sort_template.h for qsort() and qsort_arg(). Reduce duplication by using the new template. 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/port/qsort_arg.c | modified | +8 −220 |
| src/port/qsort.c | modified | +7 −220 |
Discussion
- A qsort template 85 messages · 2021-02-18 → 2022-05-23