pg_dump: Reorganize dumpFunc() and dumpAgg()
Peter Eisentraut <peter@eisentraut.org>
pg_dump: Reorganize dumpFunc() and dumpAgg() Similar to daa9fe8a5264a3f192efa5ddee8fb011ad9da365, instead of repeating the almost same large query in each version branch, use one query and add a few columns to the SELECT list depending on the version. This saves a lot of duplication. Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr> Discussion: https://www.postgresql.org/message-id/flat/6594334b-40fd-14f1-6bc5-877afa3feed5@2ndquadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_dump.c | modified | +159 −337 |
Discussion
- some more pg_dump refactoring 10 messages · 2020-06-23 → 2020-07-15