@@ -29,6 +29,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
29
29
] )
30
30
[ INHERITS ( <replaceable>parent_table</replaceable> [, ... ] ) ]
31
31
[ 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> ]
32
33
[ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) | WITHOUT OIDS ]
33
34
[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
34
35
[ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
@@ -40,6 +41,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
40
41
[, ... ]
41
42
) ]
42
43
[ 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> ]
43
45
[ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) | WITHOUT OIDS ]
44
46
[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
45
47
[ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
@@ -51,6 +53,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
51
53
[, ... ]
52
54
) ] { FOR VALUES <replaceable class="parameter">partition_bound_spec</replaceable> | DEFAULT }
53
55
[ 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> ]
54
57
[ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) | WITHOUT OIDS ]
55
58
[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
56
59
[ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
@@ -1165,6 +1168,20 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
1165
1168
</listitem>
1166
1169
</varlistentry>
1167
1170
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
+
1168
1185
<varlistentry>
1169
1186
<term><literal>WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] )</literal></term>
1170
1187
<listitem>
@@ -1238,7 +1255,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
1238
1255
</listitem>
1239
1256
</varlistentry>
1240
1257
1241
- <varlistentry>
1258
+ <varlistentry id="sql-createtable-tablespace" >
1242
1259
<term><literal>TABLESPACE <replaceable class="parameter">tablespace_name</replaceable></literal></term>
1243
1260
<listitem>
1244
1261
<para>
0 commit comments