Remove open-coded binary heap in pg_dump_sort.c.
Nathan Bossart <nathan@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_dump_sort.c | modified | +27 −83 |
Discussion
- Inefficiency in parallel pg_restore with many tables 37 messages · 2023-07-15 → 2023-09-20