Add --no-blobs option to pg_dump

Enterprise / PostgreSQL - Stephen Frost [snowman.net] - 29 November 2016 10:09 UTC

Add an option to exclude blobs when running pg_dump. By default, blobs are included but this option can be used to exclude them while keeping the rest of the dump.

Commment updates and regression tests from me.

Author: Guillaume Lelarge

4fafa57 Add --no-blobs option to pg_dump
doc/src/sgml/ref/pg_dump.sgml | 16 +++++++
src/bin/pg_dump/pg_backup.h | 1 +
src/bin/pg_dump/pg_dump.c | 19 +++++++--
src/bin/pg_dump/t/002_pg_dump.pl | 86 +++++++++++++++++++++++++++++++++++++-
4 files changed, 117 insertions(+), 5 deletions(-)

Upstream: git.postgresql.org


  • Share