Move common pg_dump code related to connections to a new file
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 4 Apr 2025 14:04:35 +0000 (10:04 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 4 Apr 2025 20:01:22 +0000 (16:01 -0400)
commitc1da7281060d646f863e920a1aac3b9dbc997672
tree542b81120e0a5c3f6837dce6e34d879ab2812910
parentff3a7f0b686068d093933a7bdedca1fa57fc5158
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>
src/bin/pg_dump/Makefile
src/bin/pg_dump/connectdb.c [new file with mode: 0644]
src/bin/pg_dump/connectdb.h [new file with mode: 0644]
src/bin/pg_dump/meson.build
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_db.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c