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 <[email protected]>
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(+)

Reply via email to