From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Move common pg_dump code related to connections to a new file |
Date: | 2025-04-04 20:09:52 |
Message-ID: | E1u0nMO-002gkd-3C@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)gmail(dot)com>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c1da7281060d646f863e920a1aac3b9dbc997672
Modified Files
--------------
src/bin/pg_dump/Makefile | 5 +-
src/bin/pg_dump/connectdb.c | 294 +++++++++++++++++++++++++++++++++++
src/bin/pg_dump/connectdb.h | 26 ++++
src/bin/pg_dump/meson.build | 1 +
src/bin/pg_dump/pg_backup.h | 6 +-
src/bin/pg_dump/pg_backup_archiver.c | 6 +-
src/bin/pg_dump/pg_backup_db.c | 79 ++--------
src/bin/pg_dump/pg_dump.c | 2 +-
src/bin/pg_dump/pg_dumpall.c | 278 ++-------------------------------
9 files changed, 352 insertions(+), 345 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2025-04-04 20:09:53 | pgsql: add new list type simple_oid_string_list to fe-utils/simple_list |
Previous Message | Nathan Bossart | 2025-04-04 20:07:56 | Re: pgsql: pg_dump: Retrieve attribute statistics in batches. |