@@ -29,6 +29,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
2929] )
3030[ INHERITS ( <replaceable>parent_table</replaceable> [, ... ] ) ]
3131[ PARTITION BY { RANGE | LIST | HASH } ( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ... ] ) ]
32+ [ USING <replaceable class="parameter">method</replaceable> ]
3233[ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) | WITHOUT OIDS ]
3334[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
3435[ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
@@ -40,6 +41,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
4041 [, ... ]
4142) ]
4243[ PARTITION BY { RANGE | LIST | HASH } ( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ... ] ) ]
44+ [ USING <replaceable class="parameter">method</replaceable> ]
4345[ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) | WITHOUT OIDS ]
4446[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
4547[ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
@@ -51,6 +53,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
5153 [, ... ]
5254) ] { FOR VALUES <replaceable class="parameter">partition_bound_spec</replaceable> | DEFAULT }
5355[ PARTITION BY { RANGE | LIST | HASH } ( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ... ] ) ]
56+ [ USING <replaceable class="parameter">method</replaceable> ]
5457[ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) | WITHOUT OIDS ]
5558[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
5659[ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
@@ -1165,6 +1168,20 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
11651168 </listitem>
11661169 </varlistentry>
11671170
1171+ <varlistentry id="sql-createtable-method">
1172+ <term><literal>USING <replaceable class="parameter">method</replaceable></literal></term>
1173+ <listitem>
1174+ <para>
1175+ This optional clause specifies the table access method to use to store
1176+ the contents for the new table; the method needs be an access method of
1177+ type <literal>TABLE</literal>. See <xref linkend="tableam"/> for more
1178+ information. If this option is not specified, the default table access
1179+ method is chosen for the new materialized view. See <xref
1180+ linkend="guc-default-table-access-method"/> for more information.
1181+ </para>
1182+ </listitem>
1183+ </varlistentry>
1184+
11681185 <varlistentry>
11691186 <term><literal>WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] )</literal></term>
11701187 <listitem>
@@ -1238,7 +1255,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
12381255 </listitem>
12391256 </varlistentry>
12401257
1241- <varlistentry>
1258+ <varlistentry id="sql-createtable-tablespace" >
12421259 <term><literal>TABLESPACE <replaceable class="parameter">tablespace_name</replaceable></literal></term>
12431260 <listitem>
12441261 <para>
0 commit comments