pg_restore_caution.patch

text/x-patch

Filename: pg_restore_caution.patch
Type: text/x-patch
Part: 0
Message: Add big fat caution to pg_restore docs regards partial db restores

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
doc/src/sgml/ref/pg_restore.sgml 7 0
diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml
index 488d8dc..ad42d38 100644
--- a/doc/src/sgml/ref/pg_restore.sgml
+++ b/doc/src/sgml/ref/pg_restore.sgml
@@ -45,6 +45,13 @@
    portable across architectures.
   </para>
 
+  <caution>
+    <para>Restoring less than a complete database dump, especially
+    when <option>--disable-triggers</> is used, can result in a loss
+    of referential, trigger, or application enforced data
+    integrity.</para>
+  </caution>
+
   <para>
    <application>pg_restore</application> can operate in two modes.
    If a database name is specified, <application>pg_restore</application>