Doc: Further fix CREATE FOREIGN TABLE synopsis.
authorEtsuro Fujita
Thu, 2 Jun 2022 09:00:02 +0000 (18:00 +0900)
committerEtsuro Fujita
Thu, 2 Jun 2022 09:00:02 +0000 (18:00 +0900)
This patch fixes the partitioning synopsis in the Parameters section in
the CREATE FOREIGN TABLE documentation.  Follow-up for commit ce21a36cf.

Back-patch to v11 where default partition was introduced.

Reviewed by Amit Langote and Robert Haas.

Discussion: https://postgr.es/m/CAPmGK17U5jEqVZuo3r38wB0VFWomEtJCBGn_h92HQzQ2sP-49Q%40mail.gmail.com

doc/src/sgml/ref/create_foreign_table.sgml

index c9b167edf923bb602ded442852752f1421afc123..23c7f6619781e81aef07c5ff7ec34098be8c458e 100644 (file)
@@ -173,7 +173,7 @@ WITH ( MODULUS numeric_literal, REM
    
 
    
-    PARTITION OF parent_table FOR VALUES partition_bound_spec
+    PARTITION OF parent_table { FOR VALUES partition_bound_spec | DEFAULT }
     
      
       This form can be used to create the foreign table as partition of