From a1b0035949da09bb0f19d2d9c2d54ca54ca55752 Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Thu, 23 Dec 2010 23:22:40 -0500
Subject: [PATCH] Document pg_dump(all) --no-security-label instead of
 --security-label.

The former is the option actually supported by these commands.
---
 doc/src/sgml/ref/pg_dump.sgml    | 5 ++---
 doc/src/sgml/ref/pg_dumpall.sgml | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index 8242b536d73..a3946fa6626 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -780,11 +780,10 @@ PostgreSQL documentation
      </varlistentry>
 
      <varlistentry>
-      <term><option>--security-label</option></term>
+      <term><option>--no-security-label</option></term>
       <listitem>
        <para>
-        With this option, it also outputs security labels of database
-        objects to be dumped, if labeled.
+        Do not dump security labels.
        </para>
       </listitem>
      </varlistentry>
diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml
index c1fe50d1604..3f6690cf40c 100644
--- a/doc/src/sgml/ref/pg_dumpall.sgml
+++ b/doc/src/sgml/ref/pg_dumpall.sgml
@@ -494,11 +494,10 @@ PostgreSQL documentation
       </listitem>
      </varlistentry>
      <varlistentry>
-      <term><option>--security-label</option></term>
+      <term><option>--no-security-label</option></term>
       <listitem>
        <para>
-        With this option, it also outputs security labels of database
-        objects to be dumped, if labeled.
+        Do not dump security labels.
        </para>
       </listitem>
      </varlistentry>
-- 
GitLab