* Tom Lane (t...@sss.pgh.pa.us) wrote:
> IMO, blobs are data, so those behaviors are correct.  The docs should
> be fixed to match the code.

Works for me.

Thoughts on the attached?

Thanks!

Stephen
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
new file mode 100644
index 371a614..04b3124
*** a/doc/src/sgml/ref/pg_dump.sgml
--- b/doc/src/sgml/ref/pg_dump.sgml
*************** PostgreSQL documentation
*** 138,145 ****
         <para>
          Include large objects in the dump.  This is the default behavior
          except when <option>--schema</>, <option>--table</>, or
!         <option>--schema-only</> is specified, so the <option>-b</>
!         switch is only useful to add large objects to selective dumps.
         </para>
        </listitem>
       </varlistentry>
--- 138,148 ----
         <para>
          Include large objects in the dump.  This is the default behavior
          except when <option>--schema</>, <option>--table</>, or
!         <option>--schema-only</> is specified.  The <option>-b</>
!         switch is therefore only useful to add large objects to dumps
!         where a specific schema or table has been requested.  Note that
!         blobs are considered data and therefore will be included when
!         --data-only is used, but not when --schema-only is.
         </para>
        </listitem>
       </varlistentry>

Attachment: signature.asc
Description: Digital signature

Reply via email to