doc: Mention all options equivalent to pg_dump --filter patterns.
authorDean Rasheed
Mon, 10 Jun 2024 13:55:41 +0000 (14:55 +0100)
committerDean Rasheed
Mon, 10 Jun 2024 13:58:21 +0000 (14:58 +0100)
In the documentation for pg_dump's new --filter option, added by
commit a5cf808be5, each object pattern should match some other
existing pg_dump option, but some had been omitted, so add them.

Noted by Daniel Gustafsson, reviewed by Ayush Vatsa.

Discussion: https://postgr.es/m/CAEZATCWtVUt51B6BjTUQoS4dcNyOBj%2B04ngL7HSH3ehBXTUt%3Dw%40mail.gmail.com

doc/src/sgml/ref/pg_dump.sgml

index 08d775379fd1bc2d0522683ec94643157f18ed8a..b95ed875176f7b1811d64b9654fd3cd058948feb 100644 (file)
@@ -866,13 +866,14 @@ PostgreSQL documentation
         same rules as the corresponding options:
         /,
         ,
-         or
-         for tables,
-        / for schemas,
+        /, and
+         for tables,
+        / and
+        / for schemas,
          for data on foreign servers,
-        ,
+         and
          for table data, and
-        / or
+        / and
          for extensions.
         To read from STDIN, use - as the
         filename.  The  option can be specified in
@@ -895,34 +896,37 @@ PostgreSQL documentation
         
          
           
-           extension: extensions, works like the
-           / option.
+           extension: extensions. This works like the
+           / or
+            option.
           
          
          
           
-           foreign_data: data on foreign servers, works like
+           foreign_data: data on foreign servers. This works like
            the  option. This keyword can
            only be used with the include keyword.
           
          
          
           
-           table: tables, works like the
-           / option.
+           table: tables. This works like the
+           / or
+           / option.
           
          
          
           
            table_and_children: tables including any partitions
-           or inheritance child tables, works like the
-            option.
+           or inheritance child tables. This works like the
+            or
+            option.
           
          
          
           
            table_data: table data of any tables matching
-           pattern, works like the
+           pattern. This works like the
             option. This keyword can only
            be used with the exclude keyword.
           
@@ -931,15 +935,16 @@ PostgreSQL documentation
           
            table_data_and_children: table data of any tables
            matching pattern as well as any partitions
-           or inheritance children of the table(s), works like the
+           or inheritance children of the table(s). This works like the
             option. This
            keyword can only be used with the exclude keyword.
           
          
          
           
-           schema: schemas, works like the
-           / option.
+           schema: schemas. This works like the
+           / or
+           / option.