1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Add --no-blobs option to pg_dump

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
Reviewed-by: Amul Sul
Discussion: https://postgr.es/m/VisenaEmail.48.49926ea6f91dceb6.15355a48249@tc7-visena
This commit is contained in:
Stephen Frost
2016-11-29 11:09:35 -05:00
parent d6c8b34e95
commit 4fafa579b0
4 changed files with 117 additions and 5 deletions

View File

@@ -147,6 +147,22 @@ PostgreSQL documentation
</listitem>
</varlistentry>
<varlistentry>
<term><option>-B</></term>
<term><option>--no-blobs</></term>
<listitem>
<para>
Exclude large objects in the dump.
</para>
<para>
When both <option>-b</> and <option>-B</> are given, the behavior
is to output large objects, when data is being dumped, see the
<option>-b</> documentation.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-c</option></term>
<term><option>--clean</option></term>