Correct CREATE INDEX documentation for opclass parameters
authorAlexander Korotkov
Wed, 1 Apr 2020 12:01:26 +0000 (15:01 +0300)
committerAlexander Korotkov
Wed, 1 Apr 2020 12:01:26 +0000 (15:01 +0300)
Old versions of opclass parameters patch supported ability to specify DEFAULT
as the opclass name in CREATE INDEX command.  This ability was removed in the
final version, but 911e702077 still mentions that in the documentation.

doc/src/sgml/ref/create_index.sgml

index 3f902dcf84ff4c810fbe5e22fec7ff4e3f446945..aaf087e2e3279e76317bd211ee29d98e494b526b 100644 (file)
@@ -22,7 +22,7 @@ PostgreSQL documentation
  
 
 CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] name ] ON [ ONLY ] table_name [ USING method ]
-    ( { column_name | ( expression ) } [ COLLATE collation ] opclass | DEFAULT } [ ( opclass_parameter = value [, ... ] ) ] [ ASC | DESC ] [ NULLS { FIRST | LAST } ] [, ...] )
+    ( { column_name | ( expression ) } [ COLLATE collation ] opclass [ ( opclass_parameter = value [, ... ] ) ] ] [ ASC | DESC ] [ NULLS { FIRST | LAST } ] [, ...] )
     [ INCLUDE ( column_name [, ...] ) ]
     [ WITH ( storage_parameter = value [, ... ] ) ]
     [ TABLESPACE tablespace_name ]