| From: | Bruce Momjian <bruce(at)momjian(dot)us> | 
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org | 
| Subject: | pgsql: Modify pg_dump to use error-free memory allocation macros. This | 
| Date: | 2011-11-25 20:41:27 | 
| Message-ID: | E1RU2aN-0002Ff-33@gemulon.postgresql.org | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers | 
Modify pg_dump to use error-free memory allocation macros.  This avoids
ignoring errors and call-site error checking.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/3c0afde11a12bb3ca7c68a30ad0dedaa0d1adef5
Modified Files
--------------
src/bin/pg_dump/Makefile              |    8 +-
src/bin/pg_dump/common.c              |  977 +--------------------------------
src/bin/pg_dump/common.h              |   24 +
src/bin/pg_dump/compress_io.c         |   45 +--
src/bin/pg_dump/dumpcatalog.c         |  978 +++++++++++++++++++++++++++++++++
src/bin/pg_dump/dumputils.c           |    1 +
src/bin/pg_dump/pg_backup_archiver.c  |   92 ++--
src/bin/pg_dump/pg_backup_custom.c    |   23 +-
src/bin/pg_dump/pg_backup_db.c        |   21 +-
src/bin/pg_dump/pg_backup_directory.c |   25 +-
src/bin/pg_dump/pg_backup_files.c     |   13 +-
src/bin/pg_dump/pg_backup_null.c      |    5 +-
src/bin/pg_dump/pg_backup_tar.c       |   27 +-
src/bin/pg_dump/pg_dump.c             |  361 ++++++------
src/bin/pg_dump/pg_dump.h             |    5 -
src/bin/pg_dump/pg_dump_sort.c        |   23 +-
src/bin/pg_dump/pg_dumpall.c          |   65 ++-
src/bin/pg_dump/pg_restore.c          |   25 +-
18 files changed, 1357 insertions(+), 1361 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2011-11-25 21:20:03 | pgsql: Fix unvalidated check constraints on domains, too | 
| Previous Message | Bruce Momjian | 2011-11-25 19:54:40 | pgsql: Allow pg_upgrade to upgrade clusters that use exclusion contrain | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2011-11-25 20:41:36 | Re: pg_dump vs malloc | 
| Previous Message | Alvaro Herrera | 2011-11-25 20:26:24 | Re: pg_upgrade relation OID mismatches |