pg_dump: Put new options in consistent order in --help and man page
authorPeter Eisentraut
Wed, 24 Apr 2024 08:00:58 +0000 (10:00 +0200)
committerPeter Eisentraut
Wed, 24 Apr 2024 08:00:58 +0000 (10:00 +0200)
doc/src/sgml/ref/pg_dump.sgml
src/bin/pg_dump/pg_dump.c

index 671df4b60ef70cb11ffc901e38ed0fa3cb57ee80..08d775379fd1bc2d0522683ec94643157f18ed8a 100644 (file)
@@ -256,27 +256,6 @@ PostgreSQL documentation
       
      
 
-     
-      
-      
-       
-        Do not dump any extensions matching 
-        class="parameter">pattern.  The pattern is
-        interpreted according to the same rules as for .
-         can be given more than once to exclude extensions
-        matching any of several patterns.
-       
-
-       
-        When both  and  are given, the behavior
-        is to dump just the extensions that match at least one 
-        switch but no  switches.  If 
-        appears without , then extensions matching  are
-        excluded from what is otherwise a normal dump.
-       
-      
-     
-
      
       
       
@@ -803,6 +782,27 @@ PostgreSQL documentation
       
      
 
+     
+      
+      
+       
+        Do not dump any extensions matching 
+        class="parameter">pattern.  The pattern is
+        interpreted according to the same rules as for .
+         can be given more than once to exclude extensions
+        matching any of several patterns.
+       
+
+       
+        When both  and  are given, the behavior
+        is to dump just the extensions that match at least one 
+        switch but no  switches.  If 
+        appears without , then extensions matching  are
+        excluded from what is otherwise a normal dump.
+       
+      
+     
+
      
       
       
index b8acdd735519600f8d171ec65a7ce906c1b96077..242ebe807f5885e8f5ec560238c53b2a7e1ee7a1 100644 (file)
@@ -1115,7 +1115,6 @@ help(const char *progname)
    printf(_("  -c, --clean                  clean (drop) database objects before recreating\n"));
    printf(_("  -C, --create                 include commands to create database in dump\n"));
    printf(_("  -e, --extension=PATTERN      dump the specified extension(s) only\n"));
-   printf(_("  --exclude-extension=PATTERN  do NOT dump the specified extension(s)\n"));
    printf(_("  -E, --encoding=ENCODING      dump the data in encoding ENCODING\n"));
    printf(_("  -n, --schema=PATTERN         dump the specified schema(s) only\n"));
    printf(_("  -N, --exclude-schema=PATTERN do NOT dump the specified schema(s)\n"));
@@ -1132,6 +1131,7 @@ help(const char *progname)
    printf(_("  --disable-triggers           disable triggers during data-only restore\n"));
    printf(_("  --enable-row-security        enable row security (dump only content user has\n"
             "                               access to)\n"));
+   printf(_("  --exclude-extension=PATTERN  do NOT dump the specified extension(s)\n"));
    printf(_("  --exclude-table-and-children=PATTERN\n"
             "                               do NOT dump the specified table(s), including\n"
             "                               child and partition tables\n"));