Add sort_template.h for making sort functions.
authorThomas Munro <tmunro@postgresql.org>
Wed, 3 Mar 2021 03:57:14 +0000 (16:57 +1300)
committerThomas Munro <tmunro@postgresql.org>
Wed, 3 Mar 2021 04:02:22 +0000 (17:02 +1300)
commit0a1f1d3cac6baaa3744b89336673caba702f7628
tree227834313a493916583460d279ca2486ef9070a5
parent19890a064ebf53dedcefed0d8339ed3d449b06e6
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@yesql.se>
Discussion: http://postgr.es/m/CA%2BhUKGJ2-eaDqAum5bxhpMNhvuJmRDZxB_Tow0n-gse%2BHG0Yig%40mail.gmail.com
src/include/lib/sort_template.h [new file with mode: 0644]
src/tools/pgindent/typedefs.list