From 9724706799ca46bda387d93d85eab61f4335cb01 Mon Sep 17 00:00:00 2001 From: vellaipandiyansm Date: Thu, 4 Jun 2026 10:00:45 +0000 Subject: [PATCH] DOCS: Distinguish table and index storage parameters --- doc/src/sgml/ref/create_index.sgml | 4 ++-- doc/src/sgml/ref/create_table.sgml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/src/sgml/ref/create_index.sgml b/doc/src/sgml/ref/create_index.sgml index bb7505d..5685071 100644 --- a/doc/src/sgml/ref/create_index.sgml +++ b/doc/src/sgml/ref/create_index.sgml @@ -25,7 +25,7 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] column_name | ( expression ) } [ COLLATE collation ] [ opclass [ ( opclass_parameter = value [, ... ] ) ] ] [ ASC | DESC ] [ NULLS { FIRST | LAST } ] [, ...] ) [ INCLUDE ( column_name [, ...] ) ] [ NULLS [ NOT ] DISTINCT ] - [ WITH ( storage_parameter [= value] [, ... ] ) ] + [ WITH ( index_storage_parameter [= value] [, ... ] ) ] [ TABLESPACE tablespace_name ] [ WHERE predicate ] @@ -349,7 +349,7 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] - storage_parameter + index_storage_parameter The name of an index-method-specific storage parameter. See diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index e342585..85e1b92 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -30,7 +30,7 @@ CREATE [ persistence_mode ] TABLE [ IF NOT EXISTS ] < [ INHERITS ( parent_table [, ... ] ) ] [ PARTITION BY { RANGE | LIST | HASH } ( { column_name | ( expression ) } [ COLLATE collation ] [ opclass ] [, ... ] ) ] [ USING method ] -[ WITH ( storage_parameter [= value] [, ... ] ) | WITHOUT OIDS ] +[ WITH ( table_storage_parameter [= value] [, ... ] ) | WITHOUT OIDS ] [ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ] [ TABLESPACE tablespace_name ] @@ -42,7 +42,7 @@ CREATE [ persistence_mode ] TABLE [ IF NOT EXISTS ] < ) ] [ PARTITION BY { RANGE | LIST | HASH } ( { column_name | ( expression ) } [ COLLATE collation ] [ opclass ] [, ... ] ) ] [ USING method ] -[ WITH ( storage_parameter [= value] [, ... ] ) | WITHOUT OIDS ] +[ WITH ( table_storage_parameter [= value] [, ... ] ) | WITHOUT OIDS ] [ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ] [ TABLESPACE tablespace_name ] @@ -54,7 +54,7 @@ CREATE [ persistence_mode ] TABLE [ IF NOT EXISTS ] < ) ] { FOR VALUES partition_bound_spec | DEFAULT } [ PARTITION BY { RANGE | LIST | HASH } ( { column_name | ( expression ) } [ COLLATE collation ] [ opclass ] [, ... ] ) ] [ USING method ] -[ WITH ( storage_parameter [= value] [, ... ] ) | WITHOUT OIDS ] +[ WITH ( table_storage_parameter [= value] [, ... ] ) | WITHOUT OIDS ] [ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ] [ TABLESPACE tablespace_name ] @@ -112,7 +112,7 @@ WITH ( MODULUS numeric_literal, REM and index_parameters in UNIQUE, PRIMARY KEY, and EXCLUDE constraints are: [ INCLUDE ( column_name [, ... ] ) ] -[ WITH ( storage_parameter [= value] [, ... ] ) ] +[ WITH ( index_storage_parameter [= value] [, ... ] ) ] [ USING INDEX TABLESPACE tablespace_name ] and exclude_element in an EXCLUDE constraint is: @@ -1471,7 +1471,7 @@ WITH ( MODULUS numeric_literal, REM - WITH ( storage_parameter [= value] [, ... ] ) + WITH ( table_storage_parameter [= value] [, ... ] ) This clause specifies optional storage parameters for a table or index; -- 2.53.0