pgsql: Move pg_dump memory routines into pg_dumpmem.c/h and restore com

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move pg_dump memory routines into pg_dumpmem.c/h and restore com
Date: 2011-11-27 03:36:54
Message-ID: E1RUVXy-0004JD-RK@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Move pg_dump memory routines into pg_dumpmem.c/h and restore common.c
with its original functions. The previous function migration would
cause too many difficulties in back-patching.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9a7d49d1fba666c8bfb9df0065545e85d54dbc41

Modified Files
--------------
src/bin/pg_dump/Makefile | 6 +-
src/bin/pg_dump/common.c | 982 +++++++++++++++++++++++++++++++--
src/bin/pg_dump/common.h | 24 -
src/bin/pg_dump/compress_io.c | 2 +-
src/bin/pg_dump/dumpcatalog.c | 978 --------------------------------
src/bin/pg_dump/dumpmem.c | 73 +++
src/bin/pg_dump/dumpmem.h | 24 +
src/bin/pg_dump/dumputils.c | 2 +-
src/bin/pg_dump/pg_backup_archiver.c | 2 +-
src/bin/pg_dump/pg_backup_custom.c | 2 +-
src/bin/pg_dump/pg_backup_db.c | 2 +-
src/bin/pg_dump/pg_backup_directory.c | 2 +-
src/bin/pg_dump/pg_backup_files.c | 2 +-
src/bin/pg_dump/pg_backup_null.c | 2 +-
src/bin/pg_dump/pg_backup_tar.c | 2 +-
src/bin/pg_dump/pg_dump.c | 2 +-
src/bin/pg_dump/pg_dump_sort.c | 2 +-
src/bin/pg_dump/pg_restore.c | 2 +-
18 files changed, 1056 insertions(+), 1055 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-11-27 03:38:04 Re: [COMMITTERS] pgsql: Modify pg_dump to use error-free memory allocation macros. This
Previous Message Andrew Dunstan 2011-11-26 23:41:49 pgsql: Use the right interpreter for encoding test.

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2011-11-27 03:38:04 Re: [COMMITTERS] pgsql: Modify pg_dump to use error-free memory allocation macros. This
Previous Message Tom Lane 2011-11-27 00:26:55 Re: GiST range-contained-by searches versus empty ranges