Move common pg_dump code related to connections to a new file
Andrew Dunstan <andrew@dunslane.net>
Move common pg_dump code related to connections to a new file ConnectDatabase is used by pg_dumpall, pg_restore and pg_dump so move common code to new file. new file name: connectdb.c Author: Mahendra Singh Thalor <mahi6run@gmail.com>
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/connectdb.c | added | +294 −0 |
| src/bin/pg_dump/connectdb.h | added | +26 −0 |
| src/bin/pg_dump/Makefile | modified | +3 −2 |
| src/bin/pg_dump/meson.build | modified | +1 −0 |
| src/bin/pg_dump/pg_backup_archiver.c | modified | +3 −3 |
| src/bin/pg_dump/pg_backup_db.c | modified | +10 −69 |
| src/bin/pg_dump/pg_backup.h | modified | +3 −3 |
| src/bin/pg_dump/pg_dumpall.c | modified | +11 −267 |
| src/bin/pg_dump/pg_dump.c | modified | +1 −1 |