pg_dump: Reorganize getTableAttrs() 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: Tom Lane <[email protected]> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/daa9fe8a5264a3f192efa5ddee8fb011ad9da365 Modified Files -------------- src/bin/pg_dump/pg_dump.c | 198 +++++++++++++++------------------------------- 1 file changed, 62 insertions(+), 136 deletions(-)
