Remove open-coded binary heap in pg_dump_sort.c.
Thanks to commit 5af0263afd, binaryheap is available to frontend
code. This commit replaces the open-coded heap implementation in
pg_dump_sort.c with a binaryheap, saving a few lines of code.
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/3612876.1689443232%40sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/559bc1732180d9d3f87ad77e029c823389d8d91b
Modified Files
--------------
src/bin/pg_dump/pg_dump_sort.c | 110 ++++++++++-------------------------------
1 file changed, 27 insertions(+), 83 deletions(-)