Remove open-coded binary heap in pg_dump_sort.c.

Nathan Bossart <nathan@postgresql.org>

Commit: 559bc1732180d9d3f87ad77e029c823389d8d91b
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2023-09-20T02:18:34Z
Releases: 17.0
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

Files

PathChange+/−
src/bin/pg_dump/pg_dump_sort.c modified +27 −83

Discussion