pg_dump: Remove some unused return values.
Nathan Bossart <nathan@postgresql.org>
pg_dump: Remove some unused return values. getSchemaData() does not use the return values of many of its get* helper functions because they store the data elsewhere. For example, commit 92316a4582 introduced a separate hash table for dumpable objects that said helper functions populate. This commit changes these functions to return void and removes their "int *" parameters that returned the number of objects found. Reviewed-by: Neil Conway, Tom Lane, Daniel Gustafsson Discussion: https://postgr.es/m/ZmCAtVaOrHpf31PJ%40nathan
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/common.c | modified | +23 −46 |
| src/bin/pg_dump/pg_dump.c | modified | +67 −215 |
| src/bin/pg_dump/pg_dump.h | modified | +23 −26 |
Discussion
- small pg_dump code cleanup 8 messages · 2024-06-05 → 2024-07-02